unxmacx.mk (7871dc3e) unxmacx.mk (9964c96f)
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

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

106
107# Comp Flags for files that need exceptions enabled (C and C++)
108CFLAGSEXCEPTIONS=-fexceptions -fno-enforce-eh-specs
109
110# Comp Flags for files that do not need exceptions enabled (C and C++)
111CFLAGS_NO_EXCEPTIONS=-fno-exceptions
112
113# Normal C++ compilation flags
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

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

106
107# Comp Flags for files that need exceptions enabled (C and C++)
108CFLAGSEXCEPTIONS=-fexceptions -fno-enforce-eh-specs
109
110# Comp Flags for files that do not need exceptions enabled (C and C++)
111CFLAGS_NO_EXCEPTIONS=-fno-exceptions
112
113# Normal C++ compilation flags
114CFLAGSCXX=-pipe -malign-natural -fsigned-char -Wno-long-double $(ARCH_FLAGS)
114CFLAGSCXX=-pipe -malign-natural -fsigned-char $(ARCH_FLAGS)
115CFLAGSCXX+= -Wno-ctor-dtor-privacy
116
117PICSWITCH:=-fPIC
118# Other flags
119CFLAGSOBJGUIMT=$(PICSWITCH) -fno-common
120CFLAGSOBJCUIMT=$(PICSWITCH) -fno-common
121CFLAGSSLOGUIMT=$(PICSWITCH) -fno-common
122CFLAGSSLOCUIMT=$(PICSWITCH) -fno-common

--- 164 unchanged lines hidden ---
115CFLAGSCXX+= -Wno-ctor-dtor-privacy
116
117PICSWITCH:=-fPIC
118# Other flags
119CFLAGSOBJGUIMT=$(PICSWITCH) -fno-common
120CFLAGSOBJCUIMT=$(PICSWITCH) -fno-common
121CFLAGSSLOGUIMT=$(PICSWITCH) -fno-common
122CFLAGSSLOCUIMT=$(PICSWITCH) -fno-common

--- 164 unchanged lines hidden ---