make/linux/makefiles/sparcWorks.make

changeset 9448
73d689add964
parent 6876
710a3c8b516e
equal deleted inserted replaced
9447:1f822ff877d1 9448:73d689add964
20 # or visit www.oracle.com if you need additional information or have any 20 # or visit www.oracle.com if you need additional information or have any
21 # questions. 21 # questions.
22 # 22 #
23 # 23 #
24 24
25 #
26 # This file has been modified by Loongson Technology in 2015. These
27 # modifications are Copyright (c) 2015 Loongson Technology, and are made
28 # available on the same license terms set forth above.
29 #
30
25 #------------------------------------------------------------------------ 31 #------------------------------------------------------------------------
26 # CC, CXX & AS 32 # CC, CXX & AS
27 33
28 # If a SPEC is not set already, then use these defaults. 34 # If a SPEC is not set already, then use these defaults.
29 ifeq ($(SPEC),) 35 ifeq ($(SPEC),)
36 endif 42 endif
37 43
38 ARCHFLAG = $(ARCHFLAG/$(BUILDARCH)) 44 ARCHFLAG = $(ARCHFLAG/$(BUILDARCH))
39 ARCHFLAG/i486 = -m32 45 ARCHFLAG/i486 = -m32
40 ARCHFLAG/amd64 = -m64 46 ARCHFLAG/amd64 = -m64
47 ARCHFLAG/mips64 = -m64
41 48
42 CFLAGS += $(ARCHFLAG) 49 CFLAGS += $(ARCHFLAG)
43 AOUT_FLAGS += $(ARCHFLAG) 50 AOUT_FLAGS += $(ARCHFLAG)
44 LFLAGS += $(ARCHFLAG) 51 LFLAGS += $(ARCHFLAG)
45 ASFLAGS += $(ARCHFLAG) 52 ASFLAGS += $(ARCHFLAG)

mercurial