X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fclam%2Fcpp%2Frules.def;h=aea2b4a056dbc6996ce9e298e04e6dd1e750b803;hb=2a3a67a56b96e32b09e50e8ca9f29416fe42eff7;hp=7876b49f111201fe0122b0aa77f48354ab87b119;hpb=f6cd637b4e8ac3663ad196cdfa2fab088201471f;p=feisty_meow.git diff --git a/scripts/clam/cpp/rules.def b/scripts/clam/cpp/rules.def index 7876b49f..aea2b4a0 100644 --- a/scripts/clam/cpp/rules.def +++ b/scripts/clam/cpp/rules.def @@ -15,15 +15,6 @@ # This section manipulates variable values to prepare them for their use # in the standard CLAM support. -# special actions for projects that are tests. -ifneq "$(findstring test, $(TYPE))" "" - # add the clean task at the end, so that we will always rebuild the tests - # 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 -endif - # see if they have got the clean flag set. if so, we will not build anything. ifneq "$(CLEAN)" "" NO_COMPILE = t @@ -284,10 +275,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" -# ifneq "$(COMPILER)" "GNU_DARWIN" + ifneq "$(COMPILER)" "GNU_DARWIN" LOAD_FLAG_PREFIX += -Xlinker --start-group LOAD_FLAG_SUFFIX += -Xlinker --end-group -# endif + endif endif # had to switch from prefix to suffix recently. oddity. #LOAD_FLAG_PREFIX += $(LIBS_USED:%=$(LIBRARY_NAME_FLAG)%)