diff options
author | Jason Perkins <starkos@industriousone.com> | 2014-11-19 20:26:06 +0300 |
---|---|---|
committer | Jason Perkins <starkos@industriousone.com> | 2014-11-19 20:26:06 +0300 |
commit | 14f004aedfdbb4bd023eb1a1cf7d8d9d43668f97 (patch) | |
tree | 41303f4e686804313b3b80fb6c166c62734f78d7 /src | |
parent | 6b362413fd87db11e42e02a4e70c209376d28b25 (diff) |
Remove $(ARCH) variable from makefiles; causing issues on Linux
Diffstat (limited to 'src')
-rw-r--r-- | src/actions/make/make_cpp.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions/make/make_cpp.lua b/src/actions/make/make_cpp.lua index 4caf055..782493e 100644 --- a/src/actions/make/make_cpp.lua +++ b/src/actions/make/make_cpp.lua @@ -239,7 +239,7 @@ _p(' ALL_CPPFLAGS += $(CPPFLAGS) %s $(DEFINES) $(INCLUDES)', table.concat(cc.getcppflags(cfg), " ")) - _p(' ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) $(ARCH)%s', make.list(table.join(cc.getcflags(cfg), cfg.buildoptions))) + _p(' ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS)%s', make.list(table.join(cc.getcflags(cfg), cfg.buildoptions))) _p(' ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS)%s', make.list(cc.getcxxflags(cfg))) _p(' ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)%s', @@ -274,7 +274,7 @@ -- $(LIBS) moved to end (http://sourceforge.net/p/premake/bugs/279/) local tool = iif(cfg.language == "C", "CC", "CXX") - _p(' LINKCMD = $(%s) -o $(TARGET) $(OBJECTS) $(RESOURCES) $(ARCH) $(ALL_LDFLAGS) $(LIBS)', tool) + _p(' LINKCMD = $(%s) -o $(TARGET) $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)', tool) end end |