aboutsummaryrefslogtreecommitdiff
path: root/mk/prog.mk
diff options
context:
space:
mode:
authorNathan Phillip Brink <ohnobinki@ohnopublishing.net>2011-01-13 21:47:54 -0500
committerWilliam Hubbs <williamh@gentoo.org>2011-01-14 16:40:58 -0600
commita534b623b95ea8ee1cb788e60810a7efcc8dd5fb (patch)
treea6a8cd75ee32549e387856c2310206049557a246 /mk/prog.mk
parent882a4b7d69d4a7baecba4b8620f36df2ef5445ba (diff)
bug #351622: Use CFLAGS during linking.
Fix compilation on portage-multilib.
Diffstat (limited to 'mk/prog.mk')
-rw-r--r--mk/prog.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/prog.mk b/mk/prog.mk
index 33929fba..76227e78 100644
--- a/mk/prog.mk
+++ b/mk/prog.mk
@@ -28,7 +28,7 @@ all: depend ${PROG}
${CC} ${CFLAGS} ${CPPFLAGS} -c $< -o $@
${PROG}: ${SCRIPTS} ${OBJS}
- ${CC} ${LDFLAGS} -o $@ ${OBJS} ${LDADD}
+ ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJS} ${LDADD}
clean:
rm -f ${CLEANFILES}