summaryrefslogtreecommitdiffstats
path: root/development/spl/fix-Makefile.patch
diff options
context:
space:
mode:
author Benjamin Trigona-Harany <bosth@alumni.sfu.ca>2012-05-21 14:15:27 -0400
committer Erik Hanson <erik@slackbuilds.org>2012-05-21 17:58:15 -0500
commitb92c9c24ebeb5ea17e2a11910e0a2be808a8d4a7 (patch)
tree78de7157592c001b072cc940bf29e0e11af3dffb /development/spl/fix-Makefile.patch
parenteec3434a4036b3458813e973aa75df469af4ff0f (diff)
downloadslackbuilds-b92c9c24ebeb5ea17e2a11910e0a2be808a8d4a7.tar.gz
slackbuilds-b92c9c24ebeb5ea17e2a11910e0a2be808a8d4a7.tar.xz
development/spl: Added (SPL Programming Language)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/spl/fix-Makefile.patch')
-rw-r--r--development/spl/fix-Makefile.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/development/spl/fix-Makefile.patch b/development/spl/fix-Makefile.patch
new file mode 100644
index 0000000000..37bc6c5010
--- /dev/null
+++ b/development/spl/fix-Makefile.patch
@@ -0,0 +1,21 @@
+diff -Nur spl-1.0pre6.orig//GNUmakefile spl-1.0pre6/GNUmakefile
+--- spl-1.0pre6.orig//GNUmakefile 2008-09-18 07:34:23.000000000 -0700
++++ spl-1.0pre6/GNUmakefile 2012-05-18 19:04:38.769984565 -0700
+@@ -102,7 +102,7 @@
+ # Set this to '1' if you want to build an unoptimized SPL
+ # library with debug symbols.
+ #
+-BUILD_WITH_DEBUG = 1
++BUILD_WITH_DEBUG = 0
+
+ # Set this to '1' if you are doing SPL core development
+ #
+@@ -225,7 +225,7 @@
+ ifeq ($(BUILD_WITH_DEBUG),1)
+ CFLAGS += -O1 -ggdb
+ else
+- CFLAGS += -Os -fomit-frame-pointer
++ CFLAGS += -fomit-frame-pointer $(SLCKFLAGS)
+ endif
+
+ ifeq ($(BUILD_WITH_WERROR),1)