diff --git a/exports/Makefile b/exports/Makefile index 15f65aefe6..27a291f341 100644 --- a/exports/Makefile +++ b/exports/Makefile @@ -315,6 +315,11 @@ test : linktest.c linktest.c : $(GENSYM) ../Makefile.system ../getarch.c ./$(GENSYM) linktest $(ARCH) "$(BU)" $(EXPRECISION) $(NO_CBLAS) $(NO_LAPACK) $(NO_LAPACKE) $(NEED2UNDERSCORES) $(ONLY_CBLAS) "$(SYMBOLPREFIX)" "$(SYMBOLSUFFIX)" $(BUILD_LAPACK_DEPRECATED) $(BUILD_BFLOAT16) $(BUILD_SINGLE) $(BUILD_DOUBLE) $(BUILD_COMPLEX) $(BUILD_COMPLEX16) > linktest.c +ifeq ($(F_COMPILER), IBM) + mv linktest.c linktest.c.FIRST + egrep -v 'second_|dsecnd_' linktest.c.FIRST > linktest.c + rm linktest.c.FIRST +endif clean :: @rm -f *.def *.dylib __.SYMDEF* *.renamed