unxfbsd.mk (5a812352) unxfbsd.mk (e3393df0)
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

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

100CFLAGSEXCEPTIONS=-fexceptions
101.ELSE
102CFLAGSEXCEPTIONS=-fexceptions -fno-enforce-eh-specs
103.ENDIF
104# Flags for disabling exception handling
105CFLAGS_NO_EXCEPTIONS=-fno-exceptions
106
107# -fpermissive should be removed as soon as possible
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

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

100CFLAGSEXCEPTIONS=-fexceptions
101.ELSE
102CFLAGSEXCEPTIONS=-fexceptions -fno-enforce-eh-specs
103.ENDIF
104# Flags for disabling exception handling
105CFLAGS_NO_EXCEPTIONS=-fno-exceptions
106
107# -fpermissive should be removed as soon as possible
108CFLAGSCXX= -pipe $(ARCH_FLAGS)
108CFLAGSCXX= -pipe $(ARCH_FLAGS) -std=gnu++98
109.IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
110CFLAGSCXX += -fvisibility-inlines-hidden
111.ENDIF # "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
112
109.IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
110CFLAGSCXX += -fvisibility-inlines-hidden
111.ENDIF # "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
112
113.IF "$(CPUNAME)" == "INTEL" || "$(CPUNAME)" == "X86_64"
114CFLAGSCC += -fstack-protector
115CFLAGSCXX += -fstack-protector
116.ENDIF
117
113# Compiler flags for compiling static object in multi threaded environment with graphical user interface
114CFLAGSOBJGUIMT=
115# Compiler flags for compiling static object in multi threaded environment with character user interface
116CFLAGSOBJCUIMT=
117# Compiler flags for compiling shared object in multi threaded environment with graphical user interface
118CFLAGSSLOGUIMT=$(PICSWITCH)
119# Compiler flags for compiling shared object in multi threaded environment with character user interface
120CFLAGSSLOCUIMT=$(PICSWITCH)

--- 144 unchanged lines hidden ---
118# Compiler flags for compiling static object in multi threaded environment with graphical user interface
119CFLAGSOBJGUIMT=
120# Compiler flags for compiling static object in multi threaded environment with character user interface
121CFLAGSOBJCUIMT=
122# Compiler flags for compiling shared object in multi threaded environment with graphical user interface
123CFLAGSSLOGUIMT=$(PICSWITCH)
124# Compiler flags for compiling shared object in multi threaded environment with character user interface
125CFLAGSSLOCUIMT=$(PICSWITCH)

--- 144 unchanged lines hidden ---