From c295e25d26854c4cca98b004b8468125d5723370 Mon Sep 17 00:00:00 2001 From: Sergey Alirzaev Date: Mon, 24 Sep 2018 14:39:30 +0300 Subject: [PATCH] do not disable cpu-specific optimizations --- source/as_addons/gcc/Makefile | 1 - source/libircclient/gcc/Makefile | 1 - source/linux/Makefile | 1 - source/linux/build.sh | 1 - source/network/gcc/Makefile | 1 - source/os/gcc/Makefile | 1 - source/sound/gcc/Makefile | 1 - source/util/gcc/Makefile | 1 - 8 files changed, 8 deletions(-) diff --git a/source/as_addons/gcc/Makefile b/source/as_addons/gcc/Makefile index 5a8a6f6..3849fdf 100644 --- a/source/as_addons/gcc/Makefile +++ b/source/as_addons/gcc/Makefile @@ -12,7 +12,6 @@ ifeq ($(ARCH), 32) ARCHNAME = x86 else #Global - CXXFLAGS += -m64 -march=athlon64 -mtune=generic #Arch name ARCHNAME = x64 diff --git a/source/libircclient/gcc/Makefile b/source/libircclient/gcc/Makefile index 6a7053b..be0259a 100644 --- a/source/libircclient/gcc/Makefile +++ b/source/libircclient/gcc/Makefile @@ -12,7 +12,6 @@ ifeq ($(ARCH), 32) ARCHNAME = x86 else #Global - CXXFLAGS += -m64 -march=athlon64 -mtune=generic #Arch name ARCHNAME = x64 diff --git a/source/linux/Makefile b/source/linux/Makefile index 2181c2e..023f0fd 100644 --- a/source/linux/Makefile +++ b/source/linux/Makefile @@ -55,7 +55,6 @@ ifeq ($(ARCH), 32) ARCHNAME = x86 else #Global - ARCHFLAGS = -m64 -march=athlon64 -mtune=generic CXXFLAGS += $(ARCHFLAGS) #Angelscript diff --git a/source/linux/build.sh b/source/linux/build.sh index 8aac190..3c899da 100644 --- a/source/linux/build.sh +++ b/source/linux/build.sh @@ -60,7 +60,6 @@ for arg in $args; do export ARCH=32 ;; 64) - export ARCHFLAGS="-m64 -march=athlon64 -mtune=generic" export ARCH=64 ;; debug) diff --git a/source/network/gcc/Makefile b/source/network/gcc/Makefile index fe116e1..aa902d4 100644 --- a/source/network/gcc/Makefile +++ b/source/network/gcc/Makefile @@ -12,7 +12,6 @@ ifeq ($(ARCH), 32) ARCHNAME = x86 else #Global - CXXFLAGS += -m64 -march=athlon64 -mtune=generic #Arch name ARCHNAME = x64 diff --git a/source/os/gcc/Makefile b/source/os/gcc/Makefile index 5b789cc..2d4454c 100644 --- a/source/os/gcc/Makefile +++ b/source/os/gcc/Makefile @@ -12,7 +12,6 @@ ifeq ($(ARCH), 32) ARCHNAME = x86 else #Global - CXXFLAGS += -m64 -march=athlon64 -mtune=generic #Arch name ARCHNAME = x64 diff --git a/source/sound/gcc/Makefile b/source/sound/gcc/Makefile index f77370c..b80450c 100644 --- a/source/sound/gcc/Makefile +++ b/source/sound/gcc/Makefile @@ -12,7 +12,6 @@ ifeq ($(ARCH), 32) ARCHNAME = x86 else #Global - CXXFLAGS += -m64 -march=athlon64 -mtune=generic #Arch name ARCHNAME = x64 diff --git a/source/util/gcc/Makefile b/source/util/gcc/Makefile index dca4e71..466acba 100644 --- a/source/util/gcc/Makefile +++ b/source/util/gcc/Makefile @@ -12,7 +12,6 @@ ifeq ($(ARCH), 32) ARCHNAME = x86 else #Global - CXXFLAGS += -m64 -march=athlon64 -mtune=generic #Arch name ARCHNAME = x64