diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-12-29 23:18:13 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-12-29 23:18:13 -0500 |
commit | b9160874be69ca4a08df3f19e2477d0b5fae4c52 (patch) | |
tree | 192a4a48bc5f0f5d613a10e8d81a1b329072438d /Makefile | |
parent | 7d68a92e0b043f0fec0561e88aec68d1fe96c9cc (diff) |
Compile with -static, set -m32 if in an i686 directory
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,8 @@ VERSION := $(shell if test -f version.txt; then cat version.txt; else git describe; fi) host_arch := $(shell uname -m) -#export CC := $(CC) -static + +export SHARED=0 +export CC = gcc -static $(if $(findstring i686,$@),-m32) # Just for convenience keymapdir = resources/utilities/grub-assemble/keymap |