aboutsummaryrefslogtreecommitdiffstats
path: root/irc/bitlbee/files/patch-configure
blob: b0aad763e6115e54e83e0be085aba730a1c2d667 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- configure.orig  Tue Jun  8 09:55:00 2004
+++ configure   Tue Jun  8 09:54:50 2004
@@ -86,7 +86,7 @@
 
 DESTDIR=
 LFLAGS=
-EFLAGS=
+EFLAGS=$LDFLAGS
 EOF
 
 cat<<EOF>config.h
@@ -108,7 +108,7 @@
    echo 'DEBUG=1' >> Makefile.settings
    echo '#define DEBUG' >> config.h
 else
-   echo 'CFLAGS=-O3' >> Makefile.settings;
+   echo "CFLAGS=$CPPFLAGS" >> Makefile.settings;
 fi
 
 echo CFLAGS+=-I`pwd` -I`pwd`/protocols -I. >> Makefile.settings