highlight/highlight-2.4-rpmoptflags.patch
2006-07-04 19:00:09 +00:00

12 lines
373 B
Diff

--- highlight-2.4.7/highlight/makefile.org 2006-07-04 20:50:59.000000000 +0200
+++ highlight-2.4.7/highlight/makefile 2006-07-04 20:51:53.000000000 +0200
@@ -15,7 +15,7 @@
CXX=c++
-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}\" -ggdb
LDFLAGS = -s