Define darwin. Changes to avod warnings, OPT flags, and order of includes.
This commit is contained in:
@@ -28,16 +28,24 @@ OP_SYS_CFLAGS += -fno-common
|
||||
CPPSNCFLAGS += -no-cpp-precomp
|
||||
|
||||
#
|
||||
# The following two definitions enable the use of DarwinPorts packages.
|
||||
# Darwin os definition
|
||||
#
|
||||
OP_SYS_CPPFLAGS += -I/opt/local/include
|
||||
OP_SYS_LDFLAGS += -L/opt/local/lib
|
||||
OP_SYS_CPPFLAGS += -Ddarwin
|
||||
|
||||
#
|
||||
# The following two definitions enable the use of DarwinPorts packages.
|
||||
|
||||
#
|
||||
OP_SYS_INCLUDES += -I/opt/local/include
|
||||
# dir/firstword/wildcard used to avoid warning -L: directory name (...) does not exist
|
||||
OP_SYS_LDFLAGS += $(addprefix -L,$(dir $(firstword $(wildcard /opt/local/lib/*))))
|
||||
|
||||
#
|
||||
# The following two definitions enable the use of Fink packages.
|
||||
#
|
||||
OP_SYS_CPPFLAGS += -I/sw/include
|
||||
OP_SYS_LDFLAGS += -L/sw/lib
|
||||
OP_SYS_INCLUDES += -I/sw/include
|
||||
# dir/firstword/wildcard used to avoid warning -L: directory name (...) does not exist
|
||||
OP_SYS_LDFLAGS += $(addprefix -L,$(dir $(firstword $(wildcard /sw/lib/*))))
|
||||
|
||||
#
|
||||
# Libraries for command-line editing.
|
||||
|
||||
@@ -9,4 +9,6 @@
|
||||
#
|
||||
# Other local options
|
||||
#
|
||||
OP_SYS_CFLAGS += -g
|
||||
OPT_CFLAGS_YES += -g
|
||||
OPT_CXXFLAGS_YES += -g
|
||||
COMMANDLINE_LIBRARY = READLINE
|
||||
|
||||
Reference in New Issue
Block a user