Changeset 37e8c4a in mainline for uspace


Ignore:
Timestamp:
2017-10-26T23:45:41Z (8 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d4da860
Parents:
90c340fb
Message:

Disallow common symbols. They are never needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    r90c340fb r37e8c4a  
    158158
    159159AFLAGS =
    160 LFLAGS = --fatal-warnings
     160LFLAGS = --fatal-warnings --warn-common
    161161
    162162# FIXME: This condition is a workaround for issues #692 and #693.
     
    234234COMMON_CFLAGS = $(INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    235235        -ffreestanding -fno-builtin -nostdlib -nostdinc -fexec-charset=UTF-8 \
    236         -finput-charset=UTF-8 -D__$(ENDIANESS)__
     236        -finput-charset=UTF-8 -D__$(ENDIANESS)__ -fno-common
    237237
    238238GCC_CFLAGS = -ffunction-sections -Wall -Wextra -Wno-clobbered \
Note: See TracChangeset for help on using the changeset viewer.