From 05195c3d000f080bc3103850158387578f7c2242 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 2 Oct 2007 21:36:49 +0000 Subject: - default to mips I for mipsel and mips III for mips - suggest some target flags for abi64 --- package/Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package') diff --git a/package/Makefile.in b/package/Makefile.in index 0c2abcb1d..903f46d6d 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -51,6 +51,10 @@ ifeq ($(findstring y,$(BR2_sparc_v9a)$(BR2_sparc64_v9a)$(BR2_sparc_v9b)$(BR2_spa TARGET_CFLAGS+=-mvis endif +ifeq ($(findstring yy,$(BR2_mips)$(BR2_MIPS_ABI64)),yy) +TARGET_CFLAGS+=-fno-pic -mno-abicalls +endif + TARGET_CXXFLAGS=$(TARGET_CFLAGS) # else it's an external toolchain -- cgit v1.2.3