fix linux x86_32 build
This commit is contained in:
parent
d73c2be344
commit
03845e4abf
3
Makefile
3
Makefile
@ -39,6 +39,7 @@ endif
|
||||
|
||||
ifdef I386
|
||||
ARCH='-m32'
|
||||
AFLAGS='--32'
|
||||
endif
|
||||
|
||||
ifeq ($(shell uname),Linux)
|
||||
@ -129,7 +130,7 @@ clean:
|
||||
rm -f main
|
||||
|
||||
%.o: %.s
|
||||
$(AS) $< -o $@ $(TARGET)
|
||||
$(AS) $(AFLAGS) $< -o $@ $(TARGET)
|
||||
|
||||
%.o: %.cpp
|
||||
$(CXX) $(CXXSTD) $(ARCH) $(CFLAGS) $(OPT) $(DEBUG) $(DEPFLAGS) -MF ${<}.d -c $< -o $@ $(TARGET)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user