freebsd.mk (908225ed) | freebsd.mk (c25219e0) |
---|---|
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 --- 6 unchanged lines hidden (view full) --- 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************************* 21 22GUI := UNX | 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 --- 6 unchanged lines hidden (view full) --- 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************************* 21 22GUI := UNX |
23COM := GCC | |
24 25# BSD mktemp -t expects a prefix, not a pattern 26gb_MKTEMP ?= /usr/bin/mktemp -t gbuild. 27 28gb_CC := cc 29gb_CXX := c++ 30gb_GCCP := cc 31gb_AR := ar --- 58 unchanged lines hidden (view full) --- 90 -Wshadow \ 91 -fPIC \ 92 -fmessage-length=0 \ 93 -fno-common \ 94 -fno-strict-aliasing \ 95 -fno-use-cxa-atexit \ 96 -fvisibility-inlines-hidden \ 97 -fvisibility=hidden \ | 23 24# BSD mktemp -t expects a prefix, not a pattern 25gb_MKTEMP ?= /usr/bin/mktemp -t gbuild. 26 27gb_CC := cc 28gb_CXX := c++ 29gb_GCCP := cc 30gb_AR := ar --- 58 unchanged lines hidden (view full) --- 89 -Wshadow \ 90 -fPIC \ 91 -fmessage-length=0 \ 92 -fno-common \ 93 -fno-strict-aliasing \ 94 -fno-use-cxa-atexit \ 95 -fvisibility-inlines-hidden \ 96 -fvisibility=hidden \ |
98 -pipe \ 99 -DHAVE_STL_INCLUDE_PATH \ | 97 -pipe 98ifeq ($(COM),CLANG) 99gb_CXXFLAGS += -DHAVE_STL_INCLUDE_PATH 100else 101gb_CXXFLAGS += -DBOOST_TR1_DISABLE_INCLUDE_NEXT -DBOOST_TR1_GCC_INCLUDE_PATH=c++ 102endif |
100 101ifneq ($(EXTERNAL_WARNINGS_NOT_ERRORS),TRUE) 102gb_CFLAGS_WERROR := -Werror 103gb_CXXFLAGS_WERROR := -Werror 104endif 105 106ifneq ($(strip $(SYSBASE)),) 107gb_CXXFLAGS += --sysroot=$(SYSBASE) 108gb_CFLAGS += --sysroot=$(SYSBASE) 109gb_LinkTarget_LDFLAGS := -Wl,--sysroot=$(SYSBASE) 110endif 111gb_LinkTarget_EXCEPTIONFLAGS := \ 112 -DEXCEPTIONS_ON \ | 103 104ifneq ($(EXTERNAL_WARNINGS_NOT_ERRORS),TRUE) 105gb_CFLAGS_WERROR := -Werror 106gb_CXXFLAGS_WERROR := -Werror 107endif 108 109ifneq ($(strip $(SYSBASE)),) 110gb_CXXFLAGS += --sysroot=$(SYSBASE) 111gb_CFLAGS += --sysroot=$(SYSBASE) 112gb_LinkTarget_LDFLAGS := -Wl,--sysroot=$(SYSBASE) 113endif 114gb_LinkTarget_EXCEPTIONFLAGS := \ 115 -DEXCEPTIONS_ON \ |
113 -fexceptions \ | 116 -fexceptions 117ifeq ($(COM),GCC) 118gb_LinkTarget_EXCEPTIONFLAGS += -fno-enforce-eh-specs 119endif |
114 115gb_LinkTarget_NOEXCEPTIONFLAGS := \ 116 -DEXCEPTIONS_OFF \ 117 -fno-exceptions \ 118 119gb_LinkTarget_LDFLAGS += \ 120 -Wl,-rpath-link,$(SYSBASE)/lib:$(SYSBASE)/usr/lib \ 121 -Wl,-z,combreloc \ 122 -Wl,-z,defs \ 123 $(subst -L../lib , ,$(SOLARLIB)) \ | 120 121gb_LinkTarget_NOEXCEPTIONFLAGS := \ 122 -DEXCEPTIONS_OFF \ 123 -fno-exceptions \ 124 125gb_LinkTarget_LDFLAGS += \ 126 -Wl,-rpath-link,$(SYSBASE)/lib:$(SYSBASE)/usr/lib \ 127 -Wl,-z,combreloc \ 128 -Wl,-z,defs \ 129 $(subst -L../lib , ,$(SOLARLIB)) \ |
124 ${FBSD_LDFLAGS} \ | 130 ${FBSD_GCC_RPATH} \ |
125 \ 126 127ifeq ($(HAVE_LD_HASH_STYLE),TRUE) 128gb_LinkTarget_LDFLAGS += \ 129 -Wl,--hash-style=both \ 130 131endif 132 --- 309 unchanged lines hidden --- | 131 \ 132 133ifeq ($(HAVE_LD_HASH_STYLE),TRUE) 134gb_LinkTarget_LDFLAGS += \ 135 -Wl,--hash-style=both \ 136 137endif 138 --- 309 unchanged lines hidden --- |