rtc: move date.c from drivers/rtc/ to lib/
[oweals/u-boot.git] / arch / arc / config.mk
index d255c90e3540ed9628bc5be5a31dffc8fea69eb5..18005d999301fd59288edbded22b504d892c8d56 100644 (file)
@@ -43,7 +43,7 @@ PLATFORM_CPPFLAGS += -mcpu=archs
 endif
 
 PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2 -mno-sdata
-PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
+PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections -fno-common
 
 # Needed for relocation
 LDFLAGS_FINAL += -pie --gc-sections