1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
Index: hsc-1.0/configure.in
===================================================================
--- hsc-1.0.orig/configure.in
+++ hsc-1.0/configure.in
@@ -46,12 +46,12 @@ case $host in
;;
esac
echo "Configuring for $SYSTEM"
-CFLAGS="-Wall -pedantic"
+CFLAGS="$CFLAGS -Wall -pedantic"
AC_ARG_ENABLE(debug,
AS_HELP_STRING([--enable-debug],[Compile programs with GDB support and debugging output]),
[CFLAGS="$CFLAGS -ggdb -g3 -DDEBUG"; REGEXDEBUG="regex/printchar.o"],
- CFLAGS="$CFLAGS -fomit-frame-pointer -Os")
+ CFLAGS="$CFLAGS")
AC_ARG_ENABLE(efence,
AS_HELP_STRING([--enable-efence],[Link with efence library for memory debugging]),
CFLAGS="$CFLAGS -lefence")
Index: hsc-1.0/src/regex/Makefile.in
===================================================================
--- hsc-1.0.orig/src/regex/Makefile.in
+++ hsc-1.0/src/regex/Makefile.in
@@ -29,7 +29,7 @@ version = 0.12
CPPFLAGS =
# Likewise, you can override CFLAGS to optimize, use -Wall, etc.
-CFLAGS = -g
+#CFLAGS = -g
# Ditto for LDFLAGS and LOADLIBES.
LDFLAGS =
Index: hsc-1.0/src/Makefile.in
===================================================================
--- hsc-1.0.orig/src/Makefile.in
+++ hsc-1.0/src/Makefile.in
@@ -27,7 +27,7 @@ DATADIR=@datadir@
CFLAGS = @CFLAGS@ -D@SYSTEM@ -I.
COMP = @CC@ -o $@ $(CFLAGS)
-LINK = @CC@ -o $@ $(CFLAGS)
+LINK = @CC@ -o $@ $(CFLAGS) $(LDFLAGS)
LINKLIBS= @LINKLIBS@
MOVE = mv
COPY = cp
|