summaryrefslogtreecommitdiff
path: root/net-misc/openr2/files/openr2-1.3.0-fix-build-system.patch
blob: 59918934d56325a707fce67ec299099dc43617bf (plain)
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
--- a/configure.in
+++ b/configure.in
@@ -25,11 +25,6 @@
 AC_CONFIG_HEADERS(config.h)
 AM_INIT_AUTOMAKE
 
-# let's default to compile with debugging information
-# most users will not even care about it
-CFLAGS='-ggdb3 -O0'
-CXXFLAGS='-ggdb3 -O0'
-
 AC_PROG_CC
 AC_PROG_LIBTOOL
 AC_LANG([C])
diff -ur ORIG/src/Makefile.am MOD/src/Makefile.am
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,10 +1,10 @@
-AM_CFLAGS = -std=c99 -pedantic -Wall -Werror -Wwrite-strings -Wunused-variable -Wstrict-prototypes -Wmissing-prototypes 
+AM_CFLAGS = -std=c99 -pedantic -Werror -Wwrite-strings -Wunused-variable -Wstrict-prototypes -Wmissing-prototypes
 if WANT_OR2_TRACE_STACKS
 AM_CFLAGS += -DOR2_TRACE_STACKS
 endif
 
 if HAVE_SVNVERSION
-AM_CFLAGS += -DREVISION=\"$(shell svnversion -n .)\"
+AM_CFLAGS += -DREVISION=\"0\"
 endif
 
 lib_LTLIBRARIES = libopenr2.la