mirror of
https://github.com/acpica/acpica/
synced 2024-12-28 05:09:51 +03:00
Update generic unix makefiles
remove.exe extension, add define for _GNU_SOURCE, add -lpthread and -lrt loader flags for iasl. Lin Ming.
This commit is contained in:
parent
a598d63bbe
commit
40ac8b3ff3
@ -6,7 +6,7 @@ include Makefile.config
|
||||
|
||||
all: ${DIRS}
|
||||
${DIRS}: FORCE
|
||||
@cd $@; make; ls -al $@.exe
|
||||
@cd $@; make; ls -al $@
|
||||
|
||||
clean: FORCE
|
||||
@for d in ${DIRS}; do \
|
||||
|
@ -30,9 +30,9 @@ COPYPROG = @mkdir -p ../bin; rm -f ../bin/$(PROG); cp --remove-destination
|
||||
# Common compiler flags. The warning flags in addition to -Wall are not
|
||||
# automatically included in -Wall.
|
||||
#
|
||||
CFLAGS+= -Os -D$(HOST) -I$(ACPICA_SRC)/include
|
||||
CFLAGS+= -Os -D$(HOST) -I$(ACPICA_SRC)/include -D_GNU_SOURCE
|
||||
CWARNINGFLAGS = \
|
||||
-ansi -D_ANSI \
|
||||
-ansi \
|
||||
-Wall \
|
||||
-Wbad-function-cast \
|
||||
-Wdeclaration-after-statement \
|
||||
|
@ -10,6 +10,7 @@ PROG = iasl
|
||||
# Flags specific to iASL compiler
|
||||
#
|
||||
CFLAGS+= -DACPI_ASL_COMPILER -I$(ASL_COMPILER) -I.
|
||||
LDFLAGS+= -lpthread -lrt
|
||||
|
||||
OBJS = \
|
||||
adfile.o \
|
||||
|
Loading…
Reference in New Issue
Block a user