--- regex-0.12/Makefile.in.orig	2006-11-15 12:34:43.000000000 +1100
+++ regex-0.12/Makefile.in	2012-05-07 15:44:47.000000000 +1000
@@ -29,10 +29,10 @@
 CPPFLAGS = 
 
 # Likewise, you can override CFLAGS to optimize, use -Wall, etc.
-CFLAGS = -g
+CFLAGS = @CFLAGS@
 
 # Ditto for LDFLAGS and LOADLIBES.
-LDFLAGS =
+LDFLAGS = @LDFLAGS@
 LOADLIBES =
 
 srcdir = @srcdir@
