mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +00:00
* Enable use of asm on Solaris-x86
This commit is contained in:
parent
a31e38986c
commit
81c1b3128b
2 changed files with 2 additions and 3 deletions
|
@ -32,8 +32,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#if (defined _M_IX86 || defined __i386__) && \
|
#if (defined _M_IX86 || defined __i386__) && !defined(C_ONLY)
|
||||||
!defined __sun && !defined(C_ONLY)
|
|
||||||
#define id386 1
|
#define id386 1
|
||||||
#else
|
#else
|
||||||
#define id386 0
|
#define id386 0
|
||||||
|
|
|
@ -398,12 +398,12 @@ ifeq ($(PLATFORM),SunOS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
OPTIMIZE = -O3 -ffast-math -funroll-loops -fomit-frame-pointer
|
OPTIMIZE = -O3 -ffast-math -funroll-loops -fomit-frame-pointer
|
||||||
BASE_CFLAGS += -DNO_VM_COMPILED
|
|
||||||
|
|
||||||
ifeq ($(ARCH),sparc)
|
ifeq ($(ARCH),sparc)
|
||||||
OPTIMIZE = -O3 -fomit-frame-pointer -ffast-math -falign-loops=2 \
|
OPTIMIZE = -O3 -fomit-frame-pointer -ffast-math -falign-loops=2 \
|
||||||
-falign-jumps=2 -falign-functions=2 -fstrength-reduce \
|
-falign-jumps=2 -falign-functions=2 -fstrength-reduce \
|
||||||
-funroll-loops
|
-funroll-loops
|
||||||
|
BASE_CFLAGS += -DNO_VM_COMPILED
|
||||||
else
|
else
|
||||||
ifeq ($(ARCH),i386)
|
ifeq ($(ARCH),i386)
|
||||||
OPTIMIZE = -O3 -march=i686 -fomit-frame-pointer -ffast-math \
|
OPTIMIZE = -O3 -march=i686 -fomit-frame-pointer -ffast-math \
|
||||||
|
|
Loading…
Reference in a new issue