mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-06-01 17:32:09 +00:00
update for AROS build system changes. Use the defined flags in case the compiler doesn't support them.
This commit is contained in:
parent
7a2da3127e
commit
c482b2da13
1 changed files with 7 additions and 6 deletions
|
@ -1,18 +1,19 @@
|
||||||
# Copyright © 2012-2015, Nick "Kalamatee" Andrews.
|
# Copyright © 2012-2017, Nick "Kalamatee" Andrews.
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
-include $(TOP)/config/make.cfg
|
include $(SRCDIR)/config/aros.cfg
|
||||||
|
|
||||||
DOOM3_EXEDIR := $(AROS_CONTRIB)/Games/ADoom3
|
DOOM3_EXEDIR := $(AROS_CONTRIB)/Games/ADoom3
|
||||||
DOOM3_GAMEDIR := base
|
DOOM3_GAMEDIR := base
|
||||||
|
|
||||||
GRAPHITE_CFLAGS := \
|
GRAPHITE_CFLAGS := \
|
||||||
-ftree-loop-linear -floop-strip-mine -floop-block
|
-ftree-loop-linear $(CFLAGS_LOOP_STRIP_MINE) $(CFLAGS_LOOP_BLOCK)
|
||||||
|
|
||||||
USER_CFLAGS := -Wno-error
|
NOWARN_FLAGS := $(NOWARN_ERROR) $(NOWARN_MISLEADING_INDENTATION) $(NOWARN_MAYBE_UNINITIALIZED) $(NOWARN_NONNULL_COMPARE) $(NOWARN_ENUM_COMPARE)
|
||||||
|
|
||||||
|
USER_CFLAGS := $(NOWARN_FLAGS)
|
||||||
USER_CXXFLAGS := \
|
USER_CXXFLAGS := \
|
||||||
-ffast-math -fomit-frame-pointer \
|
$(CFLAGS_FAST_MATH) -fomit-frame-pointer -fexceptions $(NOWARN_FLAGS)
|
||||||
-Wno-error -fexceptions
|
|
||||||
USER_LDFLAGS := -static-libstdc++
|
USER_LDFLAGS := -static-libstdc++
|
||||||
|
|
||||||
#MM- aros-doom3-libs : workbench-libs-jpeg-linklib contrib-openal-linklib development-libogg development-libvorbis
|
#MM- aros-doom3-libs : workbench-libs-jpeg-linklib contrib-openal-linklib development-libogg development-libvorbis
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue