Skip to content

Commit

Permalink
[native_toolchain_c] Enable relocations in RO secionts
Browse files Browse the repository at this point in the history
  • Loading branch information
dcharkes committed Sep 14, 2023
1 parent 5177659 commit ee96750
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/native_toolchain_c/lib/src/cbuilder/run_cbuilder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ class RunCBuilder {
] else ...[
'-fno-PIC',
'-fno-PIE',
'-z',
'notext',
],
for (final MapEntry(key: name, :value) in defines.entries)
if (value == null) '-D$name' else '-D$name=$value',
Expand Down

0 comments on commit ee96750

Please sign in to comment.