summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/DirectFB-extra/files/DirectFB-extra-1.0.0-CFLAGS.patch')
-rw-r--r--dev-libs/DirectFB-extra/files/DirectFB-extra-1.0.0-CFLAGS.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-libs/DirectFB-extra/files/DirectFB-extra-1.0.0-CFLAGS.patch b/dev-libs/DirectFB-extra/files/DirectFB-extra-1.0.0-CFLAGS.patch
new file mode 100644
index 0000000..513fb95
--- /dev/null
+++ b/dev-libs/DirectFB-extra/files/DirectFB-extra-1.0.0-CFLAGS.patch
@@ -0,0 +1,23 @@
+--- configure
++++ configure
+@@ -19853,7 +19853,7 @@
+ DFB_CFLAGS="$DFB_CFLAGS $DFB_INTERNAL_CFLAGS -DREENTRANT"
+
+ if test "x$GCC" = xyes; then
+- DFB_CFLAGS="$DFB_CFLAGS -O3 -fexpensive-optimizations -ffast-math -Wall"
++ DFB_CFLAGS="$DFB_CFLAGS -ffast-math -Wall"
+ fi
+
+ #
+@@ -19910,9 +19910,9 @@
+ #define DFB_DEBUG 1
+ _ACEOF
+
+- DFB_CFLAGS="$DFB_CFLAGS -g3"
++ DFB_CFLAGS="$DFB_CFLAGS"
+ else
+- DFB_CFLAGS="$DFB_CFLAGS -g0"
++ DFB_CFLAGS="$DFB_CFLAGS"
+ fi
+
+