]> git.pld-linux.org Git - packages/allegro.git/commitdiff
- this patch allows build with -omit-frame-pointer
authorwitekfl <witekfl@pld-linux.org>
Thu, 2 Oct 2003 05:30:26 +0000 (05:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    allegro-frame-pointer.patch -> 1.1

allegro-frame-pointer.patch [new file with mode: 0644]

diff --git a/allegro-frame-pointer.patch b/allegro-frame-pointer.patch
new file mode 100644 (file)
index 0000000..7a0d4e6
--- /dev/null
@@ -0,0 +1,20 @@
+--- allegro-4.1.11/configure.in.old    Mon Sep 29 22:49:10 2003
++++ allegro-4.1.11/configure.in        Mon Sep 29 22:52:02 2003
+@@ -213,7 +213,7 @@
+ elif test "X$allegro_build_profiling_programs" = "Xyes"; then
+   COMPILE_PROGRAM=COMPILE_PROFILE
+   COMPILE_S_PROGRAM=COMPILE_S_PROFILE
+-  PROG_LDFLAGS="-pg \$(LDFLAGS)"
++  PROG_LDFLAGS="-fno-omit-frame-pointer -pg \$(LDFLAGS)"
+   LIB_TO_LINK=allp
+   PLUGIN_LIB=lib/unix/libapdat.a
+   allegro_build_profiling_library=yes
+@@ -654,7 +654,7 @@
+   if test "X$allegro_debug_with_fortify" = "Xyes"; then
+      ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DFORTIFY"
+   fi
+-  ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $WFLAGS"
++  ALLEGRO_PROFILE_CFLAGS="$CFLAGS -fno-omit-frame-pointer -pg $WFLAGS"
+   ALLEGRO_SFLAGS="-x assembler-with-cpp"
+   ALLEGRO_SHAREDLIB_CFLAGS="-fPIC -DALLEGRO_SHARED"
+ else
This page took 0.041039 seconds and 4 git commands to generate.