diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-25 16:49:32 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-25 16:49:32 +0000 |
commit | d8cc5b45452644f0212a2a2689f8398b266c2847 (patch) | |
tree | b3ae8be2e45f7f95aaf55f2106ef64ccdb75b553 /makefiles/Makefile.tools | |
parent | 78b29ccbe89df8e88165e79bb5fc3d4e30e22c9a (diff) | |
download | buildsystem-d8cc5b45452644f0212a2a2689f8398b266c2847.tar.gz buildsystem-d8cc5b45452644f0212a2a2689f8398b266c2847.tar.bz2 |
Override default archiver flags to appease Kinnison.
svn path=/trunk/tools/buildsystem/; revision=6877
Diffstat (limited to 'makefiles/Makefile.tools')
-rw-r--r-- | makefiles/Makefile.tools | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools index 0747062..af91036 100644 --- a/makefiles/Makefile.tools +++ b/makefiles/Makefile.tools @@ -121,7 +121,7 @@ SED ?= sed TOUCH ?= touch ############################################################################### -# Default compiler/linker flags +# Default compiler/linker/archiver flags ############################################################################### ifeq ($(BUILD),release) @@ -131,6 +131,10 @@ else OPTLDFLAGS ?= -g endif +ifeq ($(origin ARFLAGS),default) + ARFLAGS := cru +endif + CFLAGS := $(CFLAGS) $(OPTCFLAGS) LDFLAGS := $(LDFLAGS) $(OPTLDFLAGS) |