mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
17 lines
460 B
Diff
17 lines
460 B
Diff
diff --git a/Makefile b/Makefile
|
|
index c9132594860b..9551c8bc5e91 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -933,7 +933,7 @@ export mod_sign_cmd
|
|
|
|
ifdef CONFIG_STACK_VALIDATION
|
|
has_libelf := $(call try-run,\
|
|
- echo "int main() {}" | $(HOSTCC) -xc -o /dev/null -lelf -,1,0)
|
|
+ echo "int main() {}" | $(HOSTCC) $(HOSTCFLAGS) -xc -o /dev/null $(HOSTLDFLAGS) -lelf -,1,0)
|
|
ifeq ($(has_libelf),1)
|
|
objtool_target := tools/objtool FORCE
|
|
else
|
|
--
|
|
2.11.0
|
|
|