Changeset 4fb8163 in mainline


Ignore:
Timestamp:
2018-07-05T21:41:25Z (7 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0d2bc9d
Parents:
c12d567
git-author:
Dzejrou <dzejrou@…> (2018-06-25 22:42:45)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:25)
Message:

cpp: float is now specified for mips

Location:
uspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    rc12d567 r4fb8163  
    237237
    238238# Flags for the compilation of C++ code.
    239 CPPFLAGS = $(LIBCPP_INCLUDES_FLAGS) $(INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
     239CPPFLAGS = $(LIBCPP_INCLUDES_FLAGS) $(INCLUDES_FLAGS) -O$(OPTIMIZATION) $(CPP_FLOAT) \
     240        -imacros $(CONFIG_HEADER) \
    240241        -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \
    241242        -finput-charset=UTF-8 -ffreestanding -fno-builtin -ffunction-sections \
    242243        -nostdlib -nostdinc -Wall -Wextra -Wno-clobbered -Wno-unused-parameter \
    243244        -std=c++17 -Werror-implicit-function-declaration \
    244         -Wwrite-strings -pipe -ggdb -D__$(ENDIANESS)__ -msoft-float
     245        -Wwrite-strings -pipe -ggdb -D__$(ENDIANESS)__
    245246
    246247## Setup platform configuration
  • uspace/lib/c/arch/mips32/Makefile.common

    rc12d567 r4fb8163  
    2828
    2929COMMON_CFLAGS += -msoft-float -mabi=32
     30CPP_FLOAT = -msoft-float
    3031AS_PROLOG = .module softfloat;.abicalls;
    3132LDFLAGS += -Wl,--gc-sections
Note: See TracChangeset for help on using the changeset viewer.