diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-10-24 20:11:15 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-10-24 20:11:15 +0200 |
commit | fd2c9fee9ca6c6452baed86ed61b03cdea5f8628 (patch) | |
tree | 789c60049b1e2de5e1933ecf2e55a4938454fc3b /Makefile.am | |
parent | a0756808f53057f340fac28ad7bca7a6404ed829 (diff) | |
download | gnumach-fd2c9fee9ca6c6452baed86ed61b03cdea5f8628.tar.gz gnumach-fd2c9fee9ca6c6452baed86ed61b03cdea5f8628.tar.bz2 gnumach-fd2c9fee9ca6c6452baed86ed61b03cdea5f8628.zip |
Fix taking LDFLAGS into account
* Makefile.am (gnumach_o_LINK, gnumach_LINK): Add $(LDFLAGS).
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 50ff6b63..ff23c32f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -156,7 +156,7 @@ include doc/Makefrag.am # program `gnumach.o' that is then later used again as an object file.) gnumach_o_SOURCES = # TODO. ``-u _start''. System dependent? -gnumach_o_LINK = $(LD) -u _start -r -o $@ +gnumach_o_LINK = $(LD) $(LDFLAGS) -u _start -r -o $@ noinst_PROGRAMS += \ gnumach.o @@ -181,7 +181,7 @@ clib-routines.o: gnumach-undef gnumach-undef-bad then echo "Please install a 32bit libc without multiarch support (on Debian systems, the libc6-dev:i386 package containing /usr/lib/i386-linux-gnu/libc.a)". ; \ false ; fi -gnumach_LINK = $(LD) $(LINKFLAGS) $(gnumach_LINKFLAGS) -o $@ +gnumach_LINK = $(LD) $(LDFLAGS) $(LINKFLAGS) $(gnumach_LINKFLAGS) -o $@ gnumach_LDADD = gnumach.o clib-routines.o # |