[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 06/10] Makefile: Use $(CFLAGS) when linking.



Required for options like -flto which compile while linking.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 8288299..1e1b4eb 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ $(HCTARGET): $(HCOBJ)
 
 $(TARGETS):
 	$(call colorecho,LD,$@)
-	$(VERBOSE) $(LD) -o $@ $(LDFLAGS)  $^ $(LIBS)
+	$(VERBOSE) $(LD) -o $@ $(CFLAGS) $(LDFLAGS) $^ $(LIBS)
 
 -include $(DEPS)
 
-- 
1.8.5.3

-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9

Attachment: signature.asc
Description: Digital signature