Changeset ec9aadd in mainline for uspace/lib/posix/Makefile


Ignore:
Timestamp:
2018-09-12T15:31:00Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
83932dc9
Parents:
3da0ee4
Message:

Do not use GCC specsfiles for building ports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/Makefile

    r3da0ee4 rec9aadd  
    3535INCLUDE_LIBC = ./include/libc
    3636
    37 SPECS = gcc.specs
    38 
    3937EXPORT_FILES = \
    4038        ../math/libmath.a \
     
    4341        $(LIBC_PREFIX)/crt0.o \
    4442        $(LIBC_PREFIX)/crt1.o \
    45         $(LIBRARY).a \
    46         $(SPECS)
     43        $(LIBRARY).a
    4744
    4845PRE_DEPEND = $(INCLUDE_LIBC)
    4946EXTRA_CLEAN = $(INCLUDE_LIBC)
    50 
    51 EXTRA_OUTPUT = $(SPECS)
    5247
    5348SOURCES = \
     
    8277
    8378EXPORT_CPPFLAGS = \
    84         -specs $$(HELENOS_EXPORT_ROOT)/lib/gcc.specs \
    85         -isystem $$(HELENOS_EXPORT_ROOT)/include
     79        -isystem $$(HELENOS_EXPORT_ROOT)/include \
     80        $(COMMON_CPPFLAGS)
    8681
    8782EXPORT_LDFLAGS = \
     
    9489
    9590EXPORT_CFLAGS = \
    96         -specs $$(HELENOS_EXPORT_ROOT)/lib/gcc.specs
     91        $(COMMON_CFLAGS)
    9792
    9893include $(USPACE_PREFIX)/Makefile.common
    99 
    100 $(SPECS): $(CONFIG_MAKEFILE)
    101         echo '*self_spec:' > $@.new
    102         echo '+ $(COMMON_CFLAGS)' >> $@.new
    103         echo >> $@.new
    104         echo '*cpp:' >> $@.new
    105         echo '+ $(COMMON_CPPFLAGS)' >> $@.new
    106         echo >> $@.new
    107         echo '*lib:' >> $@.new
    108         echo '$(EXPORT_LDLIBS)' >> $@.new
    109         mv $@.new $@
    11094
    11195$(INCLUDE_LIBC): $(shell find ../c/include -name '*.h')
Note: See TracChangeset for help on using the changeset viewer.