Added the -no-pie option for linking
This commit is contained in:
1 parent
a0175024f3
commit
01cb40babc
2 files changed
+2
-2
No files matched your search
@@ -49,7 +49,7 @@ $(EXAMPLES): %: $(EXAMPLES_DIR)/%.cm $(COMPILER)
|
||||
@echo "Building $@..."
|
||||
./$(COMPILER) $(EXAMPLES_DIR)/$@.cm $@.asm
|
||||
$(NASM) $(NASMFLAGS) $@.asm -o $@.o
|
||||
$(LD) $(LDFLAGS) $@.o -o $@
|
||||
$(LD) $(LDFLAGS) $@.o -o $@ -no-pie
|
||||
@echo "Built $@ successfully"
|
||||
|
||||
# Run all examples
|
||||
|
||||
Reference in new issue
Block a user