summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2023-05-11 11:45:10 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2023-05-30 15:33:18 +0200
commitb09fa46239f251d5499dea26b313e4f9ef9b1aac (patch)
treee1b6744343e2581a99dc463d9fa86f7884409fa3
parentf31b52a0b6bb1f8e626e7b2056918d0fb051199f (diff)
downloadrules-cc-b09fa46239f251d5499dea26b313e4f9ef9b1aac.tar.gz
rules-cc: Put global LDFLAGS last
-rw-r--r--CC/EXPRESSIONS4
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"}