summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngel Abad <angel@ideateca.com>2014-06-14 13:07:54 +0200
committerAndrej Shadura <andrewsh@debian.org>2018-09-05 14:48:36 +0200
commit8893ca31d3c8723b642ed26adae9515a0a0d3f73 (patch)
tree7d71c5027965422eda27d7afd82a27ade179b45f
parent7366284093529f927964f54a3302562954db7138 (diff)
Reorder gcc arguments
This package fails to link with binutils-gold / --as-needed. Reorder gcc arguments. Bug-Debian: https://bugs.debian.org/751571 Gbp-Pq: Name 0004-Reorder-gcc-arguments.patch
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8386862..2005899 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ endif
all: brightd brightd.1
brightd: brightd.c
- gcc $(CFLAGS) $(A_CFLAGS) -o $@ $@.c
+ gcc $@.c $(CFLAGS) $(A_CFLAGS) -o $@
brightd.1:
sed -re 's/^\.nr no_x11 [01]/.nr no_x11 $(MAN_NO_X11)/' brightd.1.tpl > brightd.1