aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorJerry Zhao <jerryz123@berkeley.edu>2023-07-09 22:21:54 -0700
committerJerry Zhao <jerryz123@berkeley.edu>2023-07-11 18:53:54 -0700
commitfe0576044590751e0a10a22ec28077f72d8c5414 (patch)
treed61455068b66a82e85a69f08538c6a2431c3d206 /Makefile.in
parent2eb2b40102ba0302e1b28959072d9ccb91930a8f (diff)
downloadriscv-isa-sim-fe0576044590751e0a10a22ec28077f72d8c5414.zip
riscv-isa-sim-fe0576044590751e0a10a22ec28077f72d8c5414.tar.gz
riscv-isa-sim-fe0576044590751e0a10a22ec28077f72d8c5414.tar.bz2
build: Support project-defined LDFLAGS
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index b5013bd..f236576 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -264,7 +264,7 @@ $$($(2)_test_objs) : %.o : %.cc
$(COMPILE) -c $$<
$$($(2)_test_exes) : %-utst : %.t.o $$($(2)_test_libnames)
- $(LINK) -o $$@ $$< $$($(2)_test_libnames) $(LIBS)
+ $(LINK) $$($(2)_LDFLAGS) -o $$@ $$< $$($(2)_test_libnames) $(LIBS)
$(2)_deps += $$($(2)_test_deps)
$(2)_junk += \
@@ -292,7 +292,7 @@ $$($(2)_prog_objs) : %.o : %.cc
$(COMPILE) -c $$<
$$($(2)_prog_exes) : % : %.o $$($(2)_prog_libnames)
- $(LINK) -o $$@ $$< $$($(2)_prog_libnames) $(LIBS)
+ $(LINK) $$($(2)_LDFLAGS) -o $$@ $$< $$($(2)_prog_libnames) $(LIBS)
$(2)_deps += $$($(2)_prog_deps)
$(2)_junk += $$($(2)_prog_objs) $$($(2)_prog_deps) $$($(2)_prog_exes)
@@ -307,7 +307,7 @@ $$($(2)_install_prog_objs) : %.o : %.cc $$($(2)_gen_hdrs)
$(COMPILE) -c $$<
$$($(2)_install_prog_exes) : % : %.o $$($(2)_prog_libnames)
- $(LINK) -o $$@ $$< $$($(2)_prog_libnames) $(LIBS)
+ $(LINK) $$($(2)_LDFLAGS) -o $$@ $$< $$($(2)_prog_libnames) $(LIBS)
$(2)_deps += $$($(2)_install_prog_deps)
$(2)_junk += \