From b09fa46239f251d5499dea26b313e4f9ef9b1aac Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Thu, 11 May 2023 11:45:10 +0200 Subject: rules-cc: Put global LDFLAGS last --- CC/EXPRESSIONS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CC') diff --git a/CC/EXPRESSIONS b/CC/EXPRESSIONS index a520cde..8d4e12d 100644 --- a/CC/EXPRESSIONS +++ b/CC/EXPRESSIONS @@ -1190,11 +1190,11 @@ } ] , {"type": "var", "name": "COMPILE_FLAGS"} - , {"type": "var", "name": "LDFLAGS"} , ["-o", {"type": "var", "name": "libname"}] , {"type": "keys", "$1": {"type": "var", "name": "objects"}} , {"type": "var", "name": "link-args"} , {"type": "var", "name": "run-libs-args"} + , {"type": "var", "name": "LDFLAGS"} ] } } @@ -1502,9 +1502,9 @@ , {"type": "var", "name": "binpath"} ] , {"type": "var", "name": "COMPILE_FLAGS"} - , {"type": "var", "name": "LDFLAGS"} , {"type": "var", "name": "link-args"} , {"type": "var", "name": "run-libs-args"} + , {"type": "var", "name": "LDFLAGS"} ] } , "env": {"type": "var", "name": "ENV"} -- cgit v1.2.3