X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fclam%2Fcpp%2Frules.def;h=6e4338cb3ebd210c8f57571571f1ce72233c97c1;hb=16523355f3a68b80a95200555665d2f6c007e102;hp=ffb6660290229de22664f68d3d612b6b814ee92b;hpb=7694650f42a2ceb801896662dbd531097fc11758;p=feisty_meow.git diff --git a/scripts/clam/cpp/rules.def b/scripts/clam/cpp/rules.def index ffb66602..6e4338cb 100644 --- a/scripts/clam/cpp/rules.def +++ b/scripts/clam/cpp/rules.def @@ -21,7 +21,7 @@ ifneq "$(findstring test, $(TYPE))" "" # and run them again. #hmmm: this is a kludge to make sure we always run the tests. there has got # to be a better way. - LAST_TARGETS += clean +# LAST_TARGETS += clean endif # see if they have got the clean flag set. if so, we will not build anything. @@ -284,9 +284,10 @@ COMPILER_FLAGS += $(HEADER_SEARCH_PATH:%=-I%) $(DEFINITIONS:%=-D%) $(UNDEFINITIO # to search and by adding all of the code libraries that are used. LOAD_FLAG_PREFIX += $(LIBRARY_SEARCH_PATH:%=$(LIBRARY_PATH_FLAG)%) ifeq "$(OP_SYSTEM)" "UNIX" -#mac no like these flags? -# LOAD_FLAG_PREFIX += -Xlinker --start-group -# LOAD_FLAG_SUFFIX += -Xlinker --end-group + ifneq "$(COMPILER)" "GNU_DARWIN" + LOAD_FLAG_PREFIX += -Xlinker --start-group + LOAD_FLAG_SUFFIX += -Xlinker --end-group + endif endif # had to switch from prefix to suffix recently. oddity. #LOAD_FLAG_PREFIX += $(LIBS_USED:%=$(LIBRARY_NAME_FLAG)%)