diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-05-11 11:45:10 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-05-30 15:33:18 +0200 |
commit | b09fa46239f251d5499dea26b313e4f9ef9b1aac (patch) | |
tree | e1b6744343e2581a99dc463d9fa86f7884409fa3 | |
parent | f31b52a0b6bb1f8e626e7b2056918d0fb051199f (diff) | |
download | rules-cc-b09fa46239f251d5499dea26b313e4f9ef9b1aac.tar.gz |
rules-cc: Put global LDFLAGS last
-rw-r--r-- | CC/EXPRESSIONS | 4 |
1 files changed, 2 insertions, 2 deletions
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"} |