diff options
Diffstat (limited to 'com32/lua/src/Makefile')
-rw-r--r-- | com32/lua/src/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/com32/lua/src/Makefile b/com32/lua/src/Makefile index 07ae9e6b..366bfc20 100644 --- a/com32/lua/src/Makefile +++ b/com32/lua/src/Makefile @@ -28,7 +28,7 @@ NASM = nasm NASMOPT = -O9999 RANLIB = ranlib CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os \ - -fomit-frame-pointer -D__COM32__ \ + -fomit-frame-pointer -D__COM32__ -std=gnu99 \ -nostdinc -iwithprefix include \ -I../../libutil/include -I../../include \ -Wp,-MT,$@,-MD,$(dir $@).$(notdir $@).d @@ -53,6 +53,7 @@ LIBLUA_OBJS += lauxlib.o lbaselib.o ldblib.o ltablib.o \ lstrlib.o loadlib.o linit.o LIBLUA_OBJS += liolib.o LIBLUA_OBJS += dmi.o ../../modules/dmi.o +LIBLUA_OBJS += pci.o CFLAGS += -DLUA_ANSI @@ -64,6 +65,7 @@ liblua.a: $(LIBLUA_OBJS) + .PRECIOUS: %.o %.o: %.S $(CC) $(SFLAGS) -c -o $@ $< |