aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/0026_nxcompext_honour-optflags.full.patch
blob: f3c5482841bdd4901801fa1fc0dbcb35015c6e03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Honour compiler/linker option flags
Forwarded: pending
Author: Orion Poplawski <orion@cora.nwra.com>
--- a/nxcompext/configure.in
+++ b/nxcompext/configure.in
@@ -7,8 +7,8 @@ AC_PREREQ(2.13)
 
 dnl Reset default compilation flags.
 
-CXXFLAGS="-O3"
-CFLAGS="-O3"
+CXXFLAGS="$CXXFLAGS -O3"
+CFLAGS="$CFLAGS -O3"
 
 dnl Reset default linking directives.