Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs/jay
diff options
context:
space:
mode:
authorIain Lane <iain@orangesquash.org.uk>2012-04-15 18:16:24 +0400
committerIain Lane <iain@orangesquash.org.uk>2012-04-15 18:16:24 +0400
commitd6dcfb27fc6252352f6ad6f8bd9ef5cff206fd46 (patch)
treed3752ffe6288470cf5b5aafaf6a8a77223b5b2db /mcs/jay
parent32c1b70ad164640ff0a2739e66884d0279cfe7c7 (diff)
Ensure compiler flags are passed into build system
This issue was discovered when it was noted that Debian's hardening buildflags weren't being propogated to all binaries. The patch is from Simon Ruderich <simon@ruderich.org> and originated on a Debian bug[0]. [0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657518
Diffstat (limited to 'mcs/jay')
-rw-r--r--mcs/jay/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/jay/Makefile b/mcs/jay/Makefile
index 730ef09dd69..74609852fe3 100644
--- a/mcs/jay/Makefile
+++ b/mcs/jay/Makefile
@@ -46,7 +46,7 @@ dist-local: dist-default
test-local run-test-local run-test-ondotnet-local doc-update-local:
jay: $(sources:.c=.o)
- $(CCOMPILE) -o $@ $^
+ $(CCOMPILE) $(LDFLAGS) -o $@ $^
%.o: %.c
$(CCOMPILE) -c -o $@ $^