Remove --no-warn-rwx-segments from linker flags (#3903)
Co-authored-by: DizzyEggg <jajkodizzy@wp.pl>
This commit is contained in:
parent
8b80a54a7a
commit
10b37d9772
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -473,7 +473,7 @@ endif
|
|||
$(OBJ_DIR)/ld_script.ld: $(LD_SCRIPT) $(LD_SCRIPT_DEPS)
|
||||
cd $(OBJ_DIR) && sed "s#tools/#../../tools/#g" ../../$(LD_SCRIPT) > ld_script.ld
|
||||
|
||||
LDFLAGS = -Map ../../$(MAP) --no-warn-rwx-segments
|
||||
LDFLAGS = -Map ../../$(MAP)
|
||||
$(ELF): $(OBJ_DIR)/ld_script.ld $(OBJS) libagbsyscall
|
||||
@echo "cd $(OBJ_DIR) && $(LD) $(LDFLAGS) -T ld_script.ld -o ../../$@ <objects> <lib>"
|
||||
@cd $(OBJ_DIR) && $(LD) $(LDFLAGS) -T ld_script.ld --print-memory-usage -o ../../$@ $(OBJS_REL) $(LIB) | cat
|
||||
|
|
Loading…
Reference in a new issue