Skip to content

Commit dc1aeb4

Browse files
committed
apply -Bsymbolic only to layered images.
1 parent b71d33d commit dc1aeb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/image/CCLinkerInvocation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ private static class BinutilsCCLinkerInvocation extends CCLinkerInvocation {
273273
additionalPreOptions.add("-Wl,--gc-sections");
274274
}
275275

276-
if (!imageKind.isExecutable) {
276+
if (imageKind.isImageLayer) {
277277
/*
278278
* We do not want interposition to affect the resolution of symbols we define and
279279
* reference within this library.

0 commit comments

Comments
 (0)