unxlng.mk (86e1cf34) unxlng.mk (bcc22a4c)
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

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

74.ELSE
75CFLAGSENABLESYMBOLS=-g # was temporarily commented out, reenabled before Beta
76
77.ENDIF
78
79# flags for the C++ Compiler
80CFLAGSCC= -pipe $(ARCH_FLAGS)
81# Flags for enabling exception handling
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

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

74.ELSE
75CFLAGSENABLESYMBOLS=-g # was temporarily commented out, reenabled before Beta
76
77.ENDIF
78
79# flags for the C++ Compiler
80CFLAGSCC= -pipe $(ARCH_FLAGS)
81# Flags for enabling exception handling
82.IF "$(COM)"=="CLANG"
83CFLAGSEXCEPTIONS=-fexceptions
84.ELSE
82CFLAGSEXCEPTIONS=-fexceptions -fno-enforce-eh-specs
85CFLAGSEXCEPTIONS=-fexceptions -fno-enforce-eh-specs
86.ENDIF
83# Flags for disabling exception handling
84CFLAGS_NO_EXCEPTIONS=-fno-exceptions
85
86# -fpermissive should be removed as soon as possible
87CFLAGSCXX= -pipe $(ARCH_FLAGS)
88.IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
89CFLAGSCXX += -fvisibility-inlines-hidden
90.ENDIF # "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"

--- 161 unchanged lines hidden ---
87# Flags for disabling exception handling
88CFLAGS_NO_EXCEPTIONS=-fno-exceptions
89
90# -fpermissive should be removed as soon as possible
91CFLAGSCXX= -pipe $(ARCH_FLAGS)
92.IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
93CFLAGSCXX += -fvisibility-inlines-hidden
94.ENDIF # "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"

--- 161 unchanged lines hidden ---