early-access version 2853
This commit is contained in:
45
externals/vcpkg/ports/pbc/linux.patch
vendored
Executable file
45
externals/vcpkg/ports/pbc/linux.patch
vendored
Executable file
@@ -0,0 +1,45 @@
|
||||
--- configure.ac 2018-11-29 13:51:14.495012138 +0100
|
||||
+++ configure.ac 2018-11-29 13:51:45.308095312 +0100
|
||||
@@ -10,7 +10,6 @@
|
||||
LT_INIT
|
||||
#AC_CANONICAL_HOST
|
||||
|
||||
-CFLAGS=
|
||||
default_fink_path=/sw
|
||||
case $host_os in
|
||||
darwin*)
|
||||
@@ -78,20 +77,7 @@
|
||||
AC_PROG_MAKE_SET
|
||||
|
||||
AC_PROG_LEX
|
||||
-if test "x$LEX" != xflex; then
|
||||
- echo "************************"
|
||||
- echo "flex not found"
|
||||
- echo "************************"
|
||||
- exit -1
|
||||
-fi
|
||||
-
|
||||
AC_PROG_YACC
|
||||
-if test "x$YACC" != "xbison -y"; then
|
||||
- echo "************************"
|
||||
- echo "bison not found"
|
||||
- echo "************************"
|
||||
- exit -1
|
||||
-fi
|
||||
|
||||
# Checks for libraries.
|
||||
lib_err_msg="add its path to LDFLAGS\nsee ./configure --help"
|
||||
@@ -121,13 +134,6 @@
|
||||
|
||||
CFLAGS="$CFLAGS -Wall -W -Wfloat-equal -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wredundant-decls \
|
||||
-Wendif-labels -Wshadow -pipe -ffast-math -U__STRICT_ANSI__ -std=gnu99"
|
||||
-if test "$with_debug" == "y"; then
|
||||
- CFLAGS="$CFLAGS -g3 -O0"
|
||||
-elif test "$with_enable_optimized" != "no"; then
|
||||
- CFLAGS="$CFLAGS -g -O2"
|
||||
-else
|
||||
- CFLAGS="$CFLAGS -fomit-frame-pointer -O3"
|
||||
-fi
|
||||
|
||||
if test "$with_safe_clean" != "n"; then
|
||||
CFLAGS="$CFLAGS -DSAFE_CLEAN"
|
||||
Reference in New Issue
Block a user