highlight/highlight-2.4-rpmoptflags.patch

12 lines
365 B
Diff
Raw Normal View History

2006-03-12 20:09:47 +00:00
--- highlight-2.4.4/highlight/makefile.org 2006-03-12 21:02:07.000000000 +0100
+++ highlight-2.4.4/highlight/makefile 2006-03-12 21:03:13.000000000 +0100
2005-10-10 17:05:39 +00:00
@@ -15,7 +15,7 @@
CXX=c++
2006-03-12 20:09:47 +00:00
-CFLAGS := -O2 -DHL_DATA_DIR=\"${HL_DATA_DIR}\"
+CFLAGS := ${RPM_OPT_FLAGS} -O2 -DHL_DATA_DIR=\"${HL_DATA_DIR}\"
#CFLAGS := -Wall -DHL_DATA_DIR=\"${HL_DATA_DIR}\"
2005-10-10 17:05:39 +00:00
2006-03-12 20:09:47 +00:00
LDFLAGS = -s