ports/editors/vis/patches/patch-configure

22 lines
562 B
Text

Removed hardcoded optimizations.
Index: configure
--- configure.orig
+++ configure
@@ -236,7 +236,6 @@ esac
tryflag CFLAGS -pipe
# Try flags to optimize binary size
-tryflag CFLAGS -O2
tryflag CFLAGS -ffunction-sections
tryflag CFLAGS -fdata-sections
tryldflag LDFLAGS_AUTO -Wl,--gc-sections
@@ -443,7 +442,7 @@ int main(int argc, char *argv[]) {
}
EOF
- for liblua in lua lua5.4 lua5.3 lua5.2 lua-5.3 lua-5.2 lua54 lua53 lua52; do
+ for liblua in $LUA_VER; do
printf " checking for %s... " "$liblua"
if test "$have_pkgconfig" = "yes" ; then