移植Qt-4.8.5出现undefined reference to '__sync_sub_and_fetch_4' 解决方法:
JSObjectRef.cpp:(.text+0x90): undefined reference to `__sync_add_and_fetch_4'
obj/release/JSObjectRef.o: In function `JSClassRelease':
JSObjectRef.cpp:(.text+0x504): undefined reference to `__sync_sub_and_fetch_4'
obj/release/JSStringRef.o: In function `JSStringRetain':
JSStringRef.cpp:(.text+0x108): undefined reference to `__sync_add_and_fetch_4'
obj/release/JSStringRef.o: In function `JSStringRelease':
JSStringRef.cpp:(.text+0x2ec): undefined reference to `__sync_sub_and_fetch_4'
obj/release/JSStringRef.o: In function `JSStringIsEqualToUTF8CString':
JSStringRef.cpp:(.text+0x348): undefined reference to `__sync_sub_and_fetch_4'
obj/release/JSValueRef.o: In function `JSValueToStringCopy':
JSValueRef.cpp:(.text+0x1824): undefined refer