diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2016-12-16 21:50:36 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2016-12-16 21:50:36 +0100 |
commit | 3ee79724f6fb033d50e26ef37b33d3f8cedf0c5b (patch) | |
tree | 2f43456d1697ec695015e926f05a2eedd9b4d9eb /utils/nwztools/database | |
parent | 78cb7f0cf037a06ed64de747cb30b4122a9c24e7 (diff) | |
download | rockbox-3ee79724f6fb033d50e26ef37b33d3f8cedf0c5b.tar.gz rockbox-3ee79724f6fb033d50e26ef37b33d3f8cedf0c5b.zip |
Fix linking with C++ files.
When linking with C++ files the linker also needs to link against the C++
libraries. This is done automatically when invoking the compiler upon linking.
Since we don't want C++ dependencies on C-only projects we check if we actually
have C++ files and use either the C or C++ compiler.
Rename CFLAGS since it's now used for both C and C++ compiler and add dedicated
CFLAGS, CXXFLAGS and LDFLAGS variables.
Change-Id: I9cc068a8038f21e8fd96b20173a8f790e6ab4b6e
Diffstat (limited to 'utils/nwztools/database')
0 files changed, 0 insertions, 0 deletions