Don't hardcode that option, if you want it do make CC="gcc -m32". The test assembles with -m64 as well now.
Unified · Split
| @@ -199,7 +199,7 @@ ex%: $(top_srcdir)/examples/ex%.c · 198 unmodified lines | |||
| 199 | 199 | ||
| 200 | # tiny assembler testing | 200 | # tiny assembler testing |
| 201 | asmtest.ref: asmtest.S | 201 | asmtest.ref: asmtest.S |
| 202 | $(CC) -m32 -Wa,-W -o asmtest.ref.o -c asmtest.S | 202 | $(CC) -Wa,-W -o asmtest.ref.o -c asmtest.S |
| 203 | objdump -D asmtest.ref.o > asmtest.ref | 203 | objdump -D asmtest.ref.o > asmtest.ref |
| 204 | 204 | ||
| 205 | asmtest: asmtest.ref | 205 | asmtest: asmtest.ref |