mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
18 lines
539 B
Plaintext
18 lines
539 B
Plaintext
if [ -d "$topsrcdir/clang" ]; then
|
|
# mozilla-central based build
|
|
export CC=$topsrcdir/clang/bin/clang
|
|
export CXX=$topsrcdir/clang/bin/clang++
|
|
elif [ -d "$topsrcdir/../clang" ]; then
|
|
# comm-central based build
|
|
export CC=$topsrcdir/../clang/bin/clang
|
|
export CXX=$topsrcdir/../clang/bin/clang++
|
|
else
|
|
# SeaMonkey does not have clang installed so need
|
|
# to set CC and CXX here.
|
|
export CC=/usr/bin/gcc-4.2
|
|
export CXX=/usr/bin/g++-4.2
|
|
fi
|
|
|
|
ac_add_options --enable-stdcxx-compat
|
|
ac_add_options --with-ccache
|