]> git.pld-linux.org Git - packages/amaya.git/commitdiff
- don't override optflags
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 11 Apr 2007 09:25:57 +0000 (09:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amaya-opt.patch -> 1.1

amaya-opt.patch [new file with mode: 0644]

diff --git a/amaya-opt.patch b/amaya-opt.patch
new file mode 100644 (file)
index 0000000..8079955
--- /dev/null
@@ -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
This page took 0.077317 seconds and 4 git commands to generate.