mirror of
https://github.com/troglobit/libite.git
synced 2026-11-17 19:30:17 +00:00
Default to -fPIC, bloats archives slightly, but works for everyone.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
262f8b8936
commit
84c3667eba
1 file changed
-2
@@ -36,9 +36,7 @@ STRIP ?= $(CROSS)strip
|
|||||||
INSTALL := install --backup=off
|
INSTALL := install --backup=off
|
||||||
STRIPINST := $(INSTALL) -s --strip-program=$(CROSS)strip -m 0755
|
STRIPINST := $(INSTALL) -s --strip-program=$(CROSS)strip -m 0755
|
||||||
|
|
||||||
ifndef STATIC
|
|
||||||
CFLAGS += -fPIC
|
CFLAGS += -fPIC
|
||||||
endif
|
|
||||||
CFLAGS += -Os
|
CFLAGS += -Os
|
||||||
CPPFLAGS += -W -Wall -Werror
|
CPPFLAGS += -W -Wall -Werror
|
||||||
ARFLAGS = crus
|
ARFLAGS = crus
|
||||||
|
|||||||
Reference in new issue
Block a user