Changeset 1848f8e in mainline for uspace/Makefile.common


Ignore:
Timestamp:
2018-01-15T21:40:49Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bc1b297
Parents:
b5746a2
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-15 21:20:07)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-15 21:40:49)
Message:

Instead of defining _HELENOS_SOURCE in each individual file, put it in CFLAGS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    rb5746a2 r1848f8e  
    176176COMMON_CFLAGS = $(INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
    177177        -ffreestanding -fno-builtin -nostdlib -nostdinc -fexec-charset=UTF-8 \
    178         -finput-charset=UTF-8 -D__$(ENDIANESS)__ -fno-common \
     178        -finput-charset=UTF-8 -D__$(ENDIANESS)__ -D_HELENOS_SOURCE -fno-common \
    179179        -fdebug-prefix-map=$(realpath $(ROOT_PATH))=.
    180180
Note: See TracChangeset for help on using the changeset viewer.