Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 662552
Collapse All | Expand All

(-)/buildflags.mak.original (-17 / +1 lines)
Lines 40-68 Link Here
40
export arch := $(shell uname -m | sed -e 's,\(i[456]86\|athlon$$\),i386,')
40
export arch := $(shell uname -m | sed -e 's,\(i[456]86\|athlon$$\),i386,')
41
41
42
ifeq (${CCARCH},pathcc)
42
ifeq (${CCARCH},pathcc)
43
	export CC := pathcc -fno-fast-stdlib 
43
	CFLAGS+=-fno-fast-stdlib 
44
	export PATH := ${PATH}:/opt/pathscale/bin/
44
	export PATH := ${PATH}:/opt/pathscale/bin/
45
else
46
	ifeq (${CCARCH},gcc)
47
		export CC := gcc 
48
	else
49
		ifeq (${CCARCH},gcc4)
50
			export CC := gcc4
51
		else
52
			anerr := $(error Unknown C compiler arch: ${CCARCH})
53
		endif # gcc4
54
	endif # gcc
55
endif # pathcc
45
endif # pathcc
56
46
57
ifeq (${FCARCH},pathf90)
47
ifeq (${FCARCH},pathf90)
58
	export FC := pathf90 
48
	export FC := pathf90 
59
	export PATH := ${PATH}:/opt/pathscale/bin/
49
	export PATH := ${PATH}:/opt/pathscale/bin/
60
else
61
	ifeq (${FCARCH},gfortran)
62
		export FC := gfortran 
63
	else
64
		anerr := $(error Unknown Fortran compiler arch: ${FCARCH})
65
	endif # gfortran
66
endif # pathf90
50
endif # pathf90
67
51
68
BASECFLAGS += $(BASE_FLAGS)
52
BASECFLAGS += $(BASE_FLAGS)

Return to bug 662552