blob: e13ebb1d14210161a6cbe89b232334a069e598cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
* Don't try to find where $(CXX) is, just use it
* Don't muck with CXXFLAGS
--- a/Makefile
+++ b/Makefile
@@ -85,13 +85,9 @@
# ------------------------------------
INSTALL := $(shell which install)
RM := $(shell which rm) -f
-CXX ?= g++
SED := $(shell which sed)
WINDRES :=
-ifeq (,$(findstring /,$(CXX)))
- CXX := $(shell which $(CXX))
-endif
# if this is a Windows target, prefer mingw32-g++ over g++
@@ -231,8 +227,6 @@
CPPFLAGS := ${CPPFLAGS} -DATANKS_DEBUG_LOGTOFILE
endif
-else
- CXXFLAGS := -march=native ${CXXFLAGS} -O2
endif
|