aboutsummaryrefslogtreecommitdiffstats
path: root/bfd/test/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/test/makefile')
-rw-r--r--bfd/test/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/test/makefile b/bfd/test/makefile
index 7115100..3512579 100644
--- a/bfd/test/makefile
+++ b/bfd/test/makefile
@@ -1,7 +1,7 @@
##################################VARS#################################
CC=clang
-CC_FLAGS=-fpic
+CC_FLAGS=-fpic -O0
LD_FLAGS= -l bfd
TARGET=test
##################################RULES################################
@@ -18,7 +18,7 @@ $(TARGET): $(TARGET).o
$(CC) $^ $(LD_FLAGS) -o $@
$(TARGET).asm: $(TARGET).o
- objdump -d -M intel -S $(TARGET).o > $(TARGET).asm
+ objdump -r -d -M intel -S $(TARGET).o > $(TARGET).asm
$(TARGET).so: $(TARGET).o
$(CC) $^ $(LD_FLAGS) -shared -o $@