diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-11-05 18:41:37 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-11-05 18:41:37 +0000 |
commit | 3048e0d1b548bb66318575ee6cdb064a85a8f79d (patch) | |
tree | 7d4114bc63007dff589be32d3ca7ae550a9265ec | |
parent | 8497c8e83584935876b2b493857b3c0f8feb5721 (diff) | |
download | ioquake3-aero-3048e0d1b548bb66318575ee6cdb064a85a8f79d.tar.gz ioquake3-aero-3048e0d1b548bb66318575ee6cdb064a85a8f79d.zip |
* Enable use of asm on Solaris-x86
git-svn-id: svn://svn.icculus.org/quake3/trunk@281 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r-- | code/qcommon/q_platform.h | 3 | ||||
-rw-r--r-- | code/unix/Makefile | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/code/qcommon/q_platform.h b/code/qcommon/q_platform.h index 7da1364..13c1c85 100644 --- a/code/qcommon/q_platform.h +++ b/code/qcommon/q_platform.h @@ -32,8 +32,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #else -#if (defined _M_IX86 || defined __i386__) && \ - !defined __sun && !defined(C_ONLY) +#if (defined _M_IX86 || defined __i386__) && !defined(C_ONLY) #define id386 1 #else #define id386 0 diff --git a/code/unix/Makefile b/code/unix/Makefile index 70c6a56..8c8f8ee 100644 --- a/code/unix/Makefile +++ b/code/unix/Makefile @@ -398,12 +398,12 @@ ifeq ($(PLATFORM),SunOS) endif OPTIMIZE = -O3 -ffast-math -funroll-loops -fomit-frame-pointer - BASE_CFLAGS += -DNO_VM_COMPILED ifeq ($(ARCH),sparc) OPTIMIZE = -O3 -fomit-frame-pointer -ffast-math -falign-loops=2 \ -falign-jumps=2 -falign-functions=2 -fstrength-reduce \ -funroll-loops + BASE_CFLAGS += -DNO_VM_COMPILED else ifeq ($(ARCH),i386) OPTIMIZE = -O3 -march=i686 -fomit-frame-pointer -ffast-math \ |