[4/9] vis: Add CFLAGS to the linker step

Message ID 1367931069-7177-5-git-send-email-sven@narfation.org
State Accepted, archived
Delegated to: Elektra Wagenrad

Commit Message

Sven Eckelmann May 7, 2013, 12:51 p.m. UTC
  The GCC manual states for different parameters that the options for compilation
must also be used when linking. The options for compilation are stored in
CFLAGS and added to LINK.o to fix the behavior.

Option which need this are for example -fPIC/-fPIE or -flto.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/Makefile b/Makefile
index c4220f5..0d49c7e 100755
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@  RM ?= rm -f
 INSTALL ?= install
 MKDIR ?= mkdir -p
 # standard install paths
 PREFIX = /usr/local