aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/qcommon/q_platform.h3
-rw-r--r--code/unix/Makefile2
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 \