diff options
author | Adam NAILI | 2018-06-06 01:37:51 +0200 |
---|---|---|
committer | Adam NAILI | 2018-06-06 01:37:51 +0200 |
commit | 68bc689e3e47ed57eb43a531c793d08d9231af4e (patch) | |
tree | 3545493fb39414ac9a90e46701cc9a8452ac0209 | |
parent | a0e12235ddeaefb48062008db16485e8b9a1cb2c (diff) | |
download | tpc-compiler-68bc689e3e47ed57eb43a531c793d08d9231af4e.tar.gz |
Fixin no-pie in makefile
-rw-r--r-- | makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ IFLAGS += -I$(SRC_DIR) -I$(OUT_DIR) | |||
37 | all: clean $(OUT_DIR)/$(COMPIL_BIN) | 37 | all: clean $(OUT_DIR)/$(COMPIL_BIN) |
38 | 38 | ||
39 | test: $(OUT_DIR)/$(FILE_TEST).o | 39 | test: $(OUT_DIR)/$(FILE_TEST).o |
40 | $(CC) $< -o $(OUT_DIR)/$(FILE_TEST) -nostartfiles | 40 | $(CC) $< -o $(OUT_DIR)/$(FILE_TEST) -nostartfiles -no-pie |
41 | 41 | ||
42 | $(OUT_DIR)/$(FILE_TEST).o: $(OUT_DIR)/$(FILE_TEST).asm | 42 | $(OUT_DIR)/$(FILE_TEST).o: $(OUT_DIR)/$(FILE_TEST).asm |
43 | $(ASM) $(AFLAGS) $< -o $@ | 43 | $(ASM) $(AFLAGS) $< -o $@ |