diff options
| author | Phil Christensen <philc@microsoft.com> | 2018-12-06 12:38:11 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-06 12:38:11 -0800 |
| commit | 0315b2dfc3839db462deb0465e8dccfb7d1a1aa4 (patch) | |
| tree | cf55d7d7fa760bdf0bf069b640f51c926855b3c0 /ports/pbc/linux.patch | |
| parent | 4456dcab406eec335e41ed825264345bc74c3e2f (diff) | |
| parent | 77163c57f0d31e8d5a6afd94c5134349662b86ad (diff) | |
| download | vcpkg-0315b2dfc3839db462deb0465e8dccfb7d1a1aa4.tar.gz vcpkg-0315b2dfc3839db462deb0465e8dccfb7d1a1aa4.zip | |
Merge pull request #4858 from rfric/dev/pbc
[pbc] Initial support for PBC library
Diffstat (limited to 'ports/pbc/linux.patch')
| -rw-r--r-- | ports/pbc/linux.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/ports/pbc/linux.patch b/ports/pbc/linux.patch new file mode 100644 index 000000000..198277739 --- /dev/null +++ b/ports/pbc/linux.patch @@ -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" |
