From: Chris Koeritz Date: Sun, 16 May 2021 22:53:07 +0000 (-0400) Subject: getting through tests on mac X-Git-Tag: 2.140.134~12^2~25 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=2c57e8e34c859b12ff50c8470d21bd5f3e3ed063;p=feisty_meow.git getting through tests on mac just fixing some missing / different things for macos, like there is no /usr/include on catalina for some reason. --- diff --git a/nucleus/library/tests_filesystem/test_directory_tree.cpp b/nucleus/library/tests_filesystem/test_directory_tree.cpp index 5e9fe6b3..7897831b 100644 --- a/nucleus/library/tests_filesystem/test_directory_tree.cpp +++ b/nucleus/library/tests_filesystem/test_directory_tree.cpp @@ -54,7 +54,7 @@ int test_directory_tree::execute() { FUNCDEF("execute"); - astring path = "/usr/include"; + astring path = "/usr/lib"; #ifdef __WIN32__ // default path for windoze uses an area that should always exist. path = environment::get("COMMONPROGRAMFILES"); diff --git a/scripts/clam/cpp/variables.def b/scripts/clam/cpp/variables.def index 7ad4c79c..95933297 100644 --- a/scripts/clam/cpp/variables.def +++ b/scripts/clam/cpp/variables.def @@ -955,6 +955,8 @@ ifeq "$(COMPILER)" "GNU_DARWIN" # LOAD_FLAG_PREFIX += -Xlinker #mac has no o3??? #-O3 + # special flags for getting rid of warnings on fd_set. + LOAD_FLAG_PREFIX=-Wl,-U,___darwin_check_fd_set_overflow # -Xlinker --print-map : shows what went in and why. # -Xlinker -O3 : linker optimization