8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 21:23:04 +01:00

front port AIX porting changes

- suppress "unknown pragma message" messages for production build
- fix comment, -qstaticinline is still used in production build
This commit is contained in:
verbguy 2009-11-02 20:38:21 +00:00
parent 2a447798b2
commit c5e4dde5ac

View File

@ -65,8 +65,6 @@ endif
SHRLIB_FOREIGN_EXT=a
# Flags shared by production and debug build
# -qstaticinline, treat inline functions as static instead of extern
# -qstaticinline removed, interferes with FB's placement new
COMMON_FLAGS= -qchars=signed -qlanglvl=newexcp -qroconst -qpic \
-D__IBM_ALLOW_OVERRIDE_PLACEMENT_NEW \
-qsuppress=1540-1103 \
@ -84,8 +82,11 @@ COMMON_FLAGS= -qchars=signed -qlanglvl=newexcp -qroconst -qpic \
# -O2 implies -qstrict, but -O3 and higher does not.
# -qmaxmem, limits the amount of memory that the compiler allocates while performing
# specific, memory-intensive optimizations. Only need when using -O | -O2.
# -qstaticinline, treat inline functions as static instead of extern
# -O, same as -O2. 2009-05, tried -O3 unsuccessfully.
PROD_FLAGS=$(COMMON_FLAGS) -O -qstaticinline -qmaxmem=-1
PROD_FLAGS=$(COMMON_FLAGS) -O -qstaticinline -qmaxmem=-1 \
-qsuppress=1540-1401
DEV_FLAGS=$(COMMON_FLAGS) -g \
-qcheck -qformat=noall:exarg:zln