From 4a955b42e2612e7bb0b33315583e06a6bd9a90d1 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Sun, 28 Aug 2005 10:41:26 +0000 Subject: [PATCH] -mtune isn't supported by gcc3, change to -march=i686. Who run q3 on a P1 anyways? --- code/unix/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/unix/Makefile b/code/unix/Makefile index c0bf02ff..fa45eec9 100755 --- a/code/unix/Makefile +++ b/code/unix/Makefile @@ -160,7 +160,7 @@ ifeq ($(PLATFORM),linux) # TTimo: legacy RELEASE_CFLAGS # NOTE: the -fomit-frame-pointer option leads to an unstable binary on my test box if it was built on the main box # but building on the Mdk 7.2 baseline seems to work - RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3 -mtune=pentiumpro -march=pentium -fomit-frame-pointer -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -fstrength-reduce + RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3 -march=i686 -fomit-frame-pointer -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -fstrength-reduce # TTimo: use this for building on P3 gcc 2.95.3 libc2.2 for all targets (experimental! -fomit-fram-pointer removed) # RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3 -mtune=pentiumpro -march=pentium -pipe -ffast-math -malign-loops=2 -malign-jumps=2 -malign-functions=2 -fno-strict-aliasing -fstrength-reduce endif