Skip to content

Commit d252957

Browse files
committed
Allow building with portable targets
Downstream distributions would prefer building E9Patch for baseline CPUs so its binaries can work on non-build machines.
1 parent b4e7175 commit d252957

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
# BUILD COMMON
33
#########################################################################
44

5-
CXXFLAGS = -std=c++11 -Wall -Wno-reorder -fPIC -pie -march=native \
5+
CXXFLAGS ?= -march=native
6+
CXXFLAGS += -std=c++11 -Wall -Wno-reorder -fPIC -pie \
67
-DVERSION=$(shell cat VERSION) -Wl,-rpath=/usr/share/e9tool/lib/
78

89
E9PATCH_OBJS=\

0 commit comments

Comments
 (0)