Skip to content

Commit

Permalink
make: Ignore --no-warn-rwx-segments for now
Browse files Browse the repository at this point in the history
  • Loading branch information
karlek committed Mar 20, 2024
1 parent 1a4bffd commit 24bd37a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,24 @@ bin/boot_zig.o: src/boot/boot.zig | bin
# libraries. If the output format supports Unix style magic numbers, mark
# the output as "NMAGIC".
#
# TODO: When ubuntu-latest on github actions is updated, add this to remove nag.
# --no-warn-rwx-segments
# Allow use of RWX segments.

bin/kernel.elf: bin/boot_zig.o bin/boot.o bin/kernel.o bin/libhello.o bin/libfloof.a | bin
@ld \
--no-warn-rwx-segments \
ld \
--nmagic \
--output $@ \
--script linker.ld \
$^

# For debug symbols.
#
# TODO: When ubuntu-latest on github actions is updated, add this to remove nag.
# --no-warn-rwx-segments
# Allow use of RWX segments.
bin/kernel.dbg: bin/boot_zig.o bin/boot.o bin/kernel.o bin/libhello.o bin/libfloof.a | bin
@ld \
--no-warn-rwx-segments \
ld \
--output $@ \
--script linker.ld \
$^
Expand Down

0 comments on commit 24bd37a

Please sign in to comment.