Changeset ea42e44 in mainline for uspace/Makefile.common


Ignore:
Timestamp:
2018-02-08T19:33:49Z (7 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:
8192d8a
Parents:
2660ee3
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-07 18:23:31)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-08 19:33:49)
Message:

Third party build improvements.

Add HELENOS_ARCH, HELENOS_CXXFLAGS and HELENOS_LDLIBS variables,
split CPPFLAGS from CFLAGS, split LDLIBS from LDFLAGS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    r2660ee3 rea42e44  
    205205
    206206# Flags that should always be used, even for third-party software.
     207COMMON_CPPFLAGS = \
     208        -nostdinc \
     209        -D__$(ENDIANESS)__
     210
    207211COMMON_CFLAGS = \
    208212        -ffreestanding \
    209         -nostdlib \
    210         -nostdinc \
    211         -D__$(ENDIANESS)__
     213        -nostdlib
    212214
    213215# Flags that are always used for HelenOS code, but not for third-party.
     
    224226# TODO: Use a different name.
    225227# CFLAGS variable is traditionally used for overridable flags.
    226 CFLAGS = $(COMMON_CFLAGS) $(HELENOS_CFLAGS) $(DEFAULT_CFLAGS)
     228CFLAGS = $(COMMON_CPPFLAGS) $(COMMON_CFLAGS) $(HELENOS_CFLAGS) $(DEFAULT_CFLAGS)
    227229
    228230## Setup platform configuration
Note: See TracChangeset for help on using the changeset viewer.