Changeset ea42e44 in mainline for uspace/lib/posix/Makefile
- Timestamp:
- 2018-02-08T19:33:49Z (7 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/Makefile
r2660ee3 rea42e44 103 103 EXPORT_LDFLAGS = \ 104 104 -L$$(HELENOS_EXPORT_ROOT)/lib \ 105 --whole-archive -lc -lmath --no-whole-archive \106 105 -T link.ld 107 106 107 EXPORT_LDLIBS = \ 108 -lmath -lc 109 108 110 EXPORT_CFLAGS = \ 109 $(EXPORT_CPPFLAGS) \ 110 $(addprefix -Xlinker , $(EXPORT_LDFLAGS)) 111 -specs $$(HELENOS_EXPORT_ROOT)/lib/gcc.specs 111 112 112 113 include $(USPACE_PREFIX)/Makefile.common … … 116 117 echo '+ $(COMMON_CFLAGS)' >> $@.new 117 118 echo >> $@.new 119 echo '*cpp:' >> $@.new 120 echo '+ $(COMMON_CPPFLAGS)' >> $@.new 121 echo >> $@.new 118 122 echo '*lib:' >> $@.new 119 echo '--whole-archive -lc -lmath --no-whole-archive' >> $@.new 120 echo >> $@.new 123 echo '$(EXPORT_LDLIBS)' >> $@.new 121 124 mv $@.new $@ 122 125 … … 137 140 echo '# Do not forget to set HELENOS_EXPORT_ROOT.' >> $@.new 138 141 echo 'HELENOS_CROSS_PATH="$(shell dirname $(CC))"' >> $@.new 142 echo 'HELENOS_ARCH="$(firstword $(subst -, ,$(TARGET)))"' >> $@.new 139 143 echo 'HELENOS_TARGET="$(TARGET)"' >> $@.new 140 144 echo 'HELENOS_CPPFLAGS="$(EXPORT_CPPFLAGS)"' >> $@.new 141 145 echo 'HELENOS_CFLAGS="$(EXPORT_CFLAGS)"' >> $@.new 146 echo 'HELENOS_CXXFLAGS="$(EXPORT_CFLAGS)"' >> $@.new 142 147 echo 'HELENOS_LDFLAGS="$(EXPORT_LDFLAGS)"' >> $@.new 148 echo 'HELENOS_LDLIBS="$(EXPORT_LDLIBS)"' >> $@.new 143 149 mv $@.new $@ 144 150
Note:
See TracChangeset
for help on using the changeset viewer.