Changeset c39671d in mainline


Ignore:
Timestamp:
2018-02-26T16:41:38Z (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:
7bf8253
Parents:
df368491
Message:

Fix HELENOS_CROSS_PATH export when CC has extra arguments.

Without the extra set of quotes, dirname would fail on mips configuration,
since it adds -mabi argument to CC. With quotes, it works as expected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/Makefile

    rdf368491 rc39671d  
    139139        echo '# Generated file, do not modify.' >> $@.new
    140140        echo '# Do not forget to set HELENOS_EXPORT_ROOT.' >> $@.new
    141         echo 'HELENOS_CROSS_PATH="$(shell dirname $(CC))"' >> $@.new
     141        echo 'HELENOS_CROSS_PATH="$(shell dirname "$(CC)")"' >> $@.new
    142142        echo 'HELENOS_ARCH="$(firstword $(subst -, ,$(TARGET)))"' >> $@.new
    143143        echo 'HELENOS_TARGET="$(TARGET)"' >> $@.new
Note: See TracChangeset for help on using the changeset viewer.