Set TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
tree3de3d9ad93cad05ec9d90f1855901cd326ceb883
drwxr-xr-x - gcc