summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-05-24 16:23:09 +0100
committerEmil Velikov <[email protected]>2016-05-24 20:21:31 +0100
commit7e196cd1708bfe567454269bba7bc3f7b75364dc (patch)
tree49b265adbb75515cd6bccaa60c9592f7b4808f59 /common.py
parent0ceed1701de6ffc40fb60fbff87c81e492fb18e0 (diff)
c11/threads: resolve link issues with -O0
Add weak symbol notation for the pthread_mutexattr* symbols, thus making the linker happy. When building with -O1 or greater the optimiser will kick in and remove the said functions as they are dead/unreachable code. Ideally we'll enable the optimisations locally, yet that does not seem to work atm. v2: Add the AX_GCC_FUNC_ATTRIBUTE([weak]) hunk in configure. Cc: Alejandro PiƱeiro <[email protected]> Cc: Ben Widawsky <[email protected]> Cc: Ilia Mirkin <[email protected]> Cc: Rob Herring <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Tested-by: Rob Clark <[email protected]> Tested-by: Mark Janes <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions