OSDN Git Service

buildsys: link libgcc_eh if DODEBUG
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 16 Jan 2013 12:36:40 +0000 (13:36 +0100)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 16 Jan 2013 12:36:40 +0000 (13:36 +0100)
commit8d31a6e50db423b89082b64a3250eec1b94a7456
tree491c357cc4828a95d8dbeeddebf14c1c3038419d
parenta716f8ad2c4ba124073ef517f0b4d2f49d3b4bb4
buildsys: link libgcc_eh if DODEBUG

with -O0 we (e.g. lockf) might end up with references to
_Unwind_Resume, so pull in gcc_eh in this case..

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Rules.mak
libc/misc/file/lockf.c