diff options
author | Matt Weber <matthew.weber@rockwellcollins.com> | 2018-10-21 07:21:35 -0500 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-10-21 16:28:50 +0200 |
commit | c2b0fe80e025ebd816cf0447fb11022d3fe57309 (patch) | |
tree | d9ef210e84cfd2fe3b434bb01552d62f67c697ba /package/postgresql | |
parent | 6561d925f4a78f952c3d67e0f5b25848fec32769 (diff) | |
download | buildroot-c2b0fe80e025ebd816cf0447fb11022d3fe57309.tar.gz buildroot-c2b0fe80e025ebd816cf0447fb11022d3fe57309.zip |
package/clang: default linker to the cross GNU
By default clang is assuming the system linker /usr/bin/ld. This
patchset updates the default to point at the cross toolchain ld.
Previously clang had been used on target only, this update is
required for host clang/clang++ to be used as a frontend for
cross-compiling.
Example build command:
output/host/bin/clang++ -mcpu=cortex-a53 \
--sysroot /<abs path>/output/staging/ \
-B /<abs path>/output/host/opt/ext-toolchain/ \
foobar.cc -o foobar
Cc: Valentin Korenblit <valentinkorenblit@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/postgresql')
0 files changed, 0 insertions, 0 deletions