3
# Copyright (C) 2005 MySQL AB
5
# This program is free software; you can redistribute it and/or modify
6
# it under the terms of the GNU General Public License as published by
7
# the Free Software Foundation; version 2 of the License.
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
# GNU General Public License for more details.
14
# You should have received a copy of the GNU General Public License
15
# along with this program; if not, write to the Free Software
16
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
21
# Note that we can't use ccache with icc as the generated .deps file will
22
# then contain wrong information
25
CXXLD="$CXX -static-libcxa"
30
extra_flags="$fast_cflags -unroll2 -ip -mp -restrict"
32
# Use -no-ipo if you get this error
33
# IPO link: can not find "-lstdc++_shared"
34
# icpc: error: problem during multi-file optimization compilation (code 1)
35
extra_flags="$extra_flags -no-ipo"
36
base_cxxflags="-fno-exceptions -fno-rtti"
37
extra_configs="$pentium_configs $static_link --with-yassl"