freebsd.mk (b63233d8) freebsd.mk (e15a4534)
1#*************************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 22 unchanged lines hidden (view full) ---

31gb_AWK := awk
32gb_CLASSPATHSEP := :
33
34# normalize setsolar and configure env.
35ifeq ($(CPU),X)
36CPUNAME := X86_64
37endif
38
1#*************************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 22 unchanged lines hidden (view full) ---

31gb_AWK := awk
32gb_CLASSPATHSEP := :
33
34# normalize setsolar and configure env.
35ifeq ($(CPU),X)
36CPUNAME := X86_64
37endif
38
39ifeq ($(CPU),P)
40CPUNAME := POWERPC64
41endif
42
39# use CC/CXX if they are nondefaults
40ifneq ($(origin CC),default)
41gb_CC := $(CC)
42gb_GCCP := $(CC)
43endif
44ifneq ($(origin CXX),default)
45gb_CXX := $(CXX)
46endif

--- 16 unchanged lines hidden (view full) ---

63 -DGXX_INCLUDE_PATH=$(GXX_INCLUDE_PATH) \
64
65ifeq ($(CPUNAME),X86_64)
66gb_CPUDEFS := -D$(CPUNAME)
67else
68gb_CPUDEFS := -DX86
69endif
70
43# use CC/CXX if they are nondefaults
44ifneq ($(origin CC),default)
45gb_CC := $(CC)
46gb_GCCP := $(CC)
47endif
48ifneq ($(origin CXX),default)
49gb_CXX := $(CXX)
50endif

--- 16 unchanged lines hidden (view full) ---

67 -DGXX_INCLUDE_PATH=$(GXX_INCLUDE_PATH) \
68
69ifeq ($(CPUNAME),X86_64)
70gb_CPUDEFS := -D$(CPUNAME)
71else
72gb_CPUDEFS := -DX86
73endif
74
75ifeq ($(CPUNAME),POWERPC64)
76gb_CPUDEFS := -D$(CPUNAME)
77else
78gb_CPUDEFS := -DPOWERPC64
79endif
80
71gb_CFLAGS := \
72 -Wall \
73 -Wendif-labels \
74 -Wextra \
75 -Wshadow \
76 -fPIC \
77 -fmessage-length=0 \
78 -fno-common \

--- 368 unchanged lines hidden ---
81gb_CFLAGS := \
82 -Wall \
83 -Wendif-labels \
84 -Wextra \
85 -Wshadow \
86 -fPIC \
87 -fmessage-length=0 \
88 -fno-common \

--- 368 unchanged lines hidden ---