Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset ae7bbfd0 in mainline


Ignore:
Timestamp:
2016-02-20T19:02:20Z (5 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
Children:
5147ff1
Parents:
c190b34
Message:

build: Turn assembler and linker warnings into errors

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.build

    rc190b34 rae7bbfd0  
    3535
    3636DEFS = -DBOOT -DRELEASE=$(RELEASE) "-DCOPYRIGHT=$(COPYRIGHT)" "-DNAME=$(NAME)" -D__$(BITS)_BITS__ -D__$(ENDIANESS)__
     37
     38LFLAGS = --fatal-warnings
    3739
    3840GCC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
  • kernel/Makefile

    rc190b34 rae7bbfd0  
    128128# AFLAGS and LFLAGS must be initialized before the inclusion.
    129129#
    130 AFLAGS =
    131 LFLAGS = -n -T $(LINK) -M
     130AFLAGS = --fatal-warnings
     131LFLAGS = -n -T $(LINK) -M --fatal-warnings
    132132
    133133#
  • uspace/Makefile.common

    rc190b34 rae7bbfd0  
    161161LIBURCU_PREFIX = $(LIB_PREFIX)/urcu
    162162
     163AFLAGS = --fatal-warnings
     164LFLAGS = --fatal-warnings
     165
    163166ifeq ($(STATIC_NEEDED),y)
    164167        STATIC_BUILD = y
     
    201204else
    202205        BASE_LIBS = $(LIBC_PREFIX)/libc.so0 $(LIBSOFTINT_PREFIX)/libsofti.so0
    203         LFLAGS = -Bdynamic
     206        LFLAGS += -Bdynamic
    204207        LINKER_SCRIPT ?= $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld
    205208        ifeq ($(MATH),y)
  • uspace/lib/c/arch/ppc32/Makefile.common

    rc190b34 rae7bbfd0  
    3636GCC_CFLAGS += -mcpu=powerpc -m$(FLOATS)-float -m32
    3737BASE_LIBS += $(LIBSOFTFLOAT_PREFIX)/libsoftfloat.a
    38 AFLAGS = -a32
     38AFLAGS += -a32
    3939
    4040ENDIANESS = BE
  • uspace/lib/c/arch/sparc32/Makefile.common

    rc190b34 rae7bbfd0  
    2727#
    2828
    29 LFLAGS = -no-check-sections
     29LFLAGS += -no-check-sections
    3030
    3131ENDIANESS = BE
  • uspace/lib/c/arch/sparc64/Makefile.common

    rc190b34 rae7bbfd0  
    3535GCC_CFLAGS += -m64 -mcmodel=medlow
    3636
    37 LFLAGS = -no-check-sections
     37LFLAGS += -no-check-sections
    3838
    3939ENDIANESS = BE
Note: See TracChangeset for help on using the changeset viewer.