SOURCES: amaya-opt.patch (NEW) - don't override optflags

qboosh qboosh at pld-linux.org
Wed Apr 11 11:26:03 CEST 2007


Author: qboosh                       Date: Wed Apr 11 09:26:03 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't override optflags

---- Files affected:
SOURCES:
   amaya-opt.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/amaya-opt.patch
diff -u /dev/null SOURCES/amaya-opt.patch:1.1
--- /dev/null	Wed Apr 11 11:26:03 2007
+++ SOURCES/amaya-opt.patch	Wed Apr 11 11:25:57 2007
@@ -0,0 +1,30 @@
+--- Amaya/configure.in.orig	2007-01-22 17:47:42.000000000 +0100
++++ Amaya/configure.in	2007-04-09 21:10:03.253217541 +0200
+@@ -668,12 +668,10 @@
+ AC_ARG_WITH(debug,              [  --with-debug          compiles Amaya with debuging options (-g) ])
+ if test "$with_debug" = "yes" ; then
+   with_debug="yes"
+-  CFLAGS="-g"
+-  CXXFLAGS="-g"
++  CFLAGS="$CFLAGS -g"
++  CXXFLAGS="$CXXFLAGS -g"
+ else
+   with_debug="no"
+-  CFLAGS="-O2"
+-  CXXFLAGS="-O2"
+ fi
+ 
+ if test "${CC}" = "gcc" ; then
+--- Amaya/configure.in.orig	2007-04-10 23:09:02.443712000 +0200
++++ Amaya/configure.in	2007-04-10 23:59:07.282948251 +0200
+@@ -700,9 +700,7 @@
+ # for exemple it's possible to install libwww with fink (fink install libwww)
+ # to avoid conflicts, we just force the linker to search for specified amaya path first
+ if test "$AMAYAOS" = "MACOSX" ; then
+-  LDFLAGS="-Wl,-search_paths_first"
+-else
+-  LDFLAGS=""
++  LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
+ fi
+ 
+ dnl
================================================================


More information about the pld-cvs-commit mailing list