aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/utf8proc/files/utf8proc-1.2-buildflags.patch')
-rw-r--r--dev-libs/utf8proc/files/utf8proc-1.2-buildflags.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-libs/utf8proc/files/utf8proc-1.2-buildflags.patch b/dev-libs/utf8proc/files/utf8proc-1.2-buildflags.patch
new file mode 100644
index 000000000..4d583e417
--- /dev/null
+++ b/dev-libs/utf8proc/files/utf8proc-1.2-buildflags.patch
@@ -0,0 +1,14 @@
+Adjust build flags. Proted from 1.1.6.
+
+Patch by Marius Brehler.
+--- Makefile
++++ Makefile
+@@ -6,7 +6,7 @@ AR=ar
+ INSTALL=install
+
+ # compiler settings
+-cflags = -O2 -std=c99 -pedantic -Wall -fpic -DUTF8PROC_EXPORTS $(CFLAGS)
++cflags = -std=c99 -pedantic -fpic -DUTF8PROC_EXPORTS $(CFLAGS)
+ cc = $(CC) $(cflags)
+
+ # shared-library version MAJOR.MINOR.PATCH ... this may be *different*