summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_sem.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-05-23 14:34:22 +0000
committerimp <imp@FreeBSD.org>2014-05-23 14:34:22 +0000
commita6e74de42f82dada17c1a92bbe93462a18af3b09 (patch)
tree063560a7726a517dcc5774295fc7f24f5b7170db /lib/libthr/thread/thr_sem.c
parentf22bac81aae027969832dcfc43e0833956c0efb0 (diff)
downloadFreeBSD-src-a6e74de42f82dada17c1a92bbe93462a18af3b09.zip
FreeBSD-src-a6e74de42f82dada17c1a92bbe93462a18af3b09.tar.gz
Allow CC to not actually exist. During the ports INDEX run, all the
Makefiles are evaluated without building things. In a normal build, the prerequisites would be built, and CC would be an actual thing. In an INDEX build, though, they don't exists. Redirect stderr to get rid of annoying messages, and assume that the compiler version is 0 if the actual compiler can't tell us. Do this in preference to guessing based on numbers because gcc410 might be 4.10, or 4.1.0 and without carefully crafted special knowledge we differentiate between them easily (also ming-gcc has no clues at all). Elsewhere, don't trust the compiler version if it is 0.
Diffstat (limited to 'lib/libthr/thread/thr_sem.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud