You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-simulation/cannonsmash/files/cannonsmash-0.6.6-flags.patch

22 lines
520 B

--- configure.old 2010-10-18 15:05:02.000000000 +0200
+++ configure 2010-10-18 15:05:31.000000000 +0200
@@ -5516,12 +5516,12 @@
if test "x$x_includes" != "x"; then
- CFLAGS="-I $x_includes"
-else
- CFLAGS=""
-fi
-LDFLAGS="-L/usr/local/lib -L$x_libraries -L$libdir"
-CXXFLAGS="$CFLAGS -Wall"
+ CFLAGS="${CFLAGS} -I $x_includes"
+else
+ CFLAGS="${CFLAGS}"
+fi
+LDFLAGS="${LDFLAGS} -L/usr/local/lib -L$x_libraries -L$libdir"
+CXXFLAGS="${CXXFLAGS} -Wall"
echo "$as_me:$LINENO: checking for main in -lXmu" >&5