diff options
author | dim <dim@FreeBSD.org> | 2010-09-21 21:41:45 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2010-09-21 21:41:45 +0000 |
commit | 0f23475721730c555ad3bcf2a1e2095eed4f0945 (patch) | |
tree | e2e944fa953c22961e1dbb57fdc7b716b3c031f3 /sys/dev/usb/net/if_axe.c | |
parent | d776b5f9560dfcb767fc4762f6a5d31a5254e378 (diff) | |
download | FreeBSD-src-0f23475721730c555ad3bcf2a1e2095eed4f0945.zip FreeBSD-src-0f23475721730c555ad3bcf2a1e2095eed4f0945.tar.gz |
When building world with clang, for gnu/lib/libobjc, sys/boot/i386/boot2
and sys/boot/pc98/boot2, do not simply assign 'gcc' to CC, since compile
flags are sometimes passed via this variable, for example during the
build32 stage on amd64. This caused the 32-bit libobjc build on amd64
to fail.
Instead, only replace the first instance of clang (if any, including
optional path) with gcc, and leave the arguments alone.
Approved-by: rpaulo (mentor)
Diffstat (limited to 'sys/dev/usb/net/if_axe.c')
0 files changed, 0 insertions, 0 deletions