mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 15:55:14 +00:00
Standardized gcc-based compilers on -O2, for now.
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -2473,7 +2473,7 @@ if test "$ac_cv_prog_CC" = "gcc"; then
|
||||
if test "$with_debug" = yes; then
|
||||
CFLAGS="${CFLAGS} -Wall"
|
||||
else
|
||||
CFLAGS="-O3 -Wall -fomit-frame-pointer"
|
||||
CFLAGS="-O2 -Wall -fomit-frame-pointer"
|
||||
fi
|
||||
fi
|
||||
if test "$on_qnx" = yes; then
|
||||
|
||||
@@ -142,7 +142,7 @@ if test "$ac_cv_prog_CC" = "gcc"; then
|
||||
if test "$with_debug" = yes; then
|
||||
CFLAGS="${CFLAGS} -Wall"
|
||||
else
|
||||
CFLAGS="-O3 -Wall -fomit-frame-pointer"
|
||||
CFLAGS="-O2 -Wall -fomit-frame-pointer"
|
||||
fi
|
||||
fi
|
||||
if test "$on_qnx" = yes; then
|
||||
|
||||
@@ -52,7 +52,7 @@ ifeq ($(DEBUG),Y)
|
||||
CFLAGS = -c -g -Wall -fomit-frame-pointer -DPDCDEBUG
|
||||
LDFLAGS = -g
|
||||
else
|
||||
CFLAGS = -c -O3 -Wall -fomit-frame-pointer
|
||||
CFLAGS = -c -O2 -Wall -fomit-frame-pointer
|
||||
LDFLAGS =
|
||||
endif
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ ifeq ($(DEBUG),Y)
|
||||
CFLAGS = -c -g -Wall -DPDCDEBUG
|
||||
LDFLAGS = -g
|
||||
else
|
||||
CFLAGS = -c -O -Wall
|
||||
CFLAGS = -c -O2 -Wall
|
||||
LDFLAGS =
|
||||
endif
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ ifeq ($(DEBUG),Y)
|
||||
CFLAGS = -c -g -Wall -DPDCDEBUG -D_NO_OLDNAMES
|
||||
LDFLAGS = -g
|
||||
else
|
||||
CFLAGS = -c -O -Wall -D_NO_OLDNAMES
|
||||
CFLAGS = -c -O2 -Wall -D_NO_OLDNAMES
|
||||
LDFLAGS =
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user