Skip to content

Commit

Permalink
[fix] Set the base address for static-ELF as 0 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Azure-stars committed Oct 22, 2024
1 parent 37873ae commit fe83df8
Show file tree
Hide file tree
Showing 3 changed files with 1,445 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/libc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CC := $(ARCH)-linux-$(TARGET)-gcc

# Build target for rust programs
ifeq ($(TARGET),musl)
CFLAGS := -static
CFLAGS := -static -no-pie
ifeq ($(ARCH),x86_64)
RUST_TARGET := x86_64-unknown-linux-musl
else ifeq ($(ARCH),aarch64)
Expand Down
Loading

0 comments on commit fe83df8

Please sign in to comment.