]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
On Linux, set the default executable suffix to 'uname -m'
authorStijn Buys <ingar@telenet.be>
Tue, 25 Jun 2013 21:40:55 +0000 (23:40 +0200)
committerStijn Buys <ingar@telenet.be>
Tue, 25 Jun 2013 21:40:55 +0000 (23:40 +0200)
Makefile

index b4174339e8e6ca3d2a4539cfcd533ba669bb2124..689a61d4b592ac1e4eb26d55bb8c6d9fc3b68627 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -172,7 +172,7 @@ ifeq ($(OS),Linux)
        CFLAGS_COMMON += -fPIC
        LDFLAGS_DLL = -fPIC -ldl
        LIBS_COMMON = -lpthread
-       EXE ?= x86
+       EXE ?= $(shell uname -m)
        A = a
        DLL = so
        MWINDOWS =