mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 23:23:04 +01:00
0cb101c085
Commit 52d9a05a0f
("Backport from master: Optimized hash function for
lock manager and hash join") adds "-std=c++11" to CXXFLAGS on Linux
unconditionally. This doesn't seem to be necessary (looks rather like an
omission) and breaks the build on distributions with old gcc versions
(e.g. SLES 11 SP4).
31 lines
1.4 KiB
Plaintext
31 lines
1.4 KiB
Plaintext
# The contents of this file are subject to the Interbase Public
|
|
# License Version 1.0 (the "License"); you may not use this file
|
|
# except in compliance with the License. You may obtain a copy
|
|
# of the License at http://www.Inprise.com/IPL.html
|
|
#
|
|
# Software distributed under the License is distributed on an
|
|
# "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
|
|
# or implied. See the License for the specific language governing
|
|
# rights and limitations under the License.
|
|
#
|
|
# The Original Code was created by Inprise Corporation
|
|
# and its predecessors. Portions created by Inprise Corporation are
|
|
# Copyright (C) Inprise Corporation.
|
|
#
|
|
# All Rights Reserved.
|
|
# Contributor(s): ______________________________________.
|
|
# Start of file prefix.linux: $(VERSION) $(PLATFORM)
|
|
#
|
|
# 2 Oct 2002, Nickolay Samofatov - Major cleanup
|
|
|
|
COMMON_FLAGS=-ggdb -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DAMD64 -pipe -MMD -fPIC -fmessage-length=0
|
|
OPTIMIZE_FLAGS=-O3 -fno-omit-frame-pointer
|
|
WARN_FLAGS=-Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable -Wno-invalid-offsetof -Wno-narrowing -Wno-unused-local-typedefs
|
|
|
|
PROD_FLAGS=$(COMMON_FLAGS) $(OPTIMIZE_FLAGS)
|
|
#DEV_FLAGS=-DUSE_VALGRIND $(COMMON_FLAGS) $(WARN_FLAGS) -fmax-errors=8
|
|
DEV_FLAGS=$(COMMON_FLAGS) $(WARN_FLAGS) -fmax-errors=8
|
|
|
|
# This file must be compiled with SSE4.2 support
|
|
%/CRC32C.o: COMMON_FLAGS += -msse4
|