diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/template/unixware | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/template/unixware b/src/template/unixware index 8173ae44e5f..d08fca1e6be 100644 --- a/src/template/unixware +++ b/src/template/unixware @@ -12,10 +12,14 @@ void g(void){ } __EOF__ + # Debugging and optimization are mutually exclusive + if test "$enable_debug" != yes; then + CFLAGS="-O" + fi if $CC -c -O -Kinline conftest.c >conftest.err 2>&1; then - CFLAGS="-O -Kinline" + CFLAGS="$CFLAGS -Kinline" else - CFLAGS="-O -Kinline,no_host" + CFLAGS="$CFLAGS -Kinline,no_host" fi rm -f conftest.* |