mirror of
https://github.com/yquake2/rogue.git
synced 2025-04-20 09:10:49 +00:00
Neue CFLAGS auch rogue
This commit is contained in:
parent
f6365b98b7
commit
1e032c3c81
1 changed files with 4 additions and 6 deletions
10
Makefile
10
Makefile
|
@ -28,15 +28,13 @@ endif
|
|||
CC = gcc
|
||||
|
||||
ifeq ($(ARCH),i386)
|
||||
CFLAGS = -O2 -ffast-math -funroll-loops -falign-loops=2 \
|
||||
-falign-jumps=2 -falign-functions=2 -fno-strict-aliasing \
|
||||
-Wall -pipe -fPIC -g
|
||||
CFLAGS = -O2 -fomit-frame-pointer -fno-strict-aliasing \
|
||||
-fstack-protector -Wall -pipe -fPIC -g
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH),x86_64)
|
||||
CFLAGS = -O2 -ffast-math -funroll-loops -fomit-frame-pointer \
|
||||
-fexpensive-optimizations -fno-strict-aliasing \
|
||||
-Wall -pipe -fPIC -g
|
||||
CFLAGS = -O2 -fomit-frame-pointer -fno-strict-aliasing \
|
||||
-fstack-protector -Wall -pipe -fPIC -g
|
||||
endif
|
||||
|
||||
# Optimizations
|
||||
|
|
Loading…
Reference in a new issue