Commit f10a00a3a843db53a08b7466326c641ca246b5ec
1 parent
fdaf06ee
Exists in
master
and in
5 other branches
Ajuste nos parâmetros de compilação.
Showing
1 changed file
with
3 additions
and
4 deletions
Show diff stats
configure.ac
... | ... | @@ -101,8 +101,7 @@ case "$host" in |
101 | 101 | DLLPREFIX="lib" |
102 | 102 | DLLEXT=".so" |
103 | 103 | |
104 | - DBG_CFLAGS="-DDEBUG=1 -DDATADIR=\$(BASEDIR)" | |
105 | - RLS_CFLAGS="-DNDEBUG=1" | |
104 | + DBG_CFLAGS="$DBG_CFLAGS -DDATADIR=\$(BASEDIR)" | |
106 | 105 | |
107 | 106 | CFLAGS="$CFLAGS -Wall -Werror" |
108 | 107 | |
... | ... | @@ -114,8 +113,8 @@ case "$host" in |
114 | 113 | DLLPREFIX="lib" |
115 | 114 | DLLEXT=".so" |
116 | 115 | |
117 | - DBG_CFLAGS="-DDEBUG=1 -DDATADIR=\$(BASEDIR)" | |
118 | - RLS_CFLAGS="-DNDEBUG=1 -DDATADIR=\$(datarootdir)/\$(PACKAGE_NAME)" | |
116 | + DBG_CFLAGS="$DBG_CFLAGS -DDATADIR=\$(BASEDIR)" | |
117 | + RLS_CFLAGS="$RLS_CFLAGS -DDATADIR=\$(datarootdir)/\$(PACKAGE_NAME)" | |
119 | 118 | |
120 | 119 | # LIBS="-Wl,--no-allow-shlib-undefined,--as-needed,--no-undefined -pthread $LIBS" |
121 | 120 | LIBS="-pthread $LIBS" | ... | ... |