[PATCH 06/10] Makefile: Use $(CFLAGS) when linking.
Simon Ruderich
simon at ruderich.org
Sat Feb 1 21:56:33 CET 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://listi.jpberlin.de/pipermail/hlwm/attachments/20140201/75b6939f/attachment.asc>
More information about the hlwm
mailing list