You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-libs/taucs/files/taucs-2.2-respect-ar.patch

23 lines
635 B

--- a/config/linux.mk
+++ b/config/linux.mk
@@ -25,7 +25,7 @@
LDFLAGS =
LOUTFLG = $(COUTFLG)
-AR = ar cr
+ARFLAGS = cr
AOUTFLG =
RANLIB = ranlib
--- a/configurator/taucs_config.c
+++ b/configurator/taucs_config.c
@@ -558,7 +558,7 @@
fprintf(f, "%s: $(%s_content) $(STDDEPS)\n",get_full_name(i,0),base);
fprintf(f,"\t- $(RM) %s\n",get_full_name(i,0));
- fprintf(f,"\t$(AR) $(AOUTFLG)%s $(%s_content)\n",get_full_name(i,0),base);
+ fprintf(f,"\t$(AR) $(ARFLAGS) $(AOUTFLG)%s $(%s_content)\n",get_full_name(i,0),base);
fprintf(f,"\t$(RANLIB) %s\n",get_full_name(i,0));
}