Changes in uspace/lib/libc/Makefile.toolchain [cc1f8d4:ac47b7c2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/Makefile.toolchain
rcc1f8d4 rac47b7c2 27 27 # 28 28 29 GCC_CFLAGS = -I$(LIBC_PREFIX)/include -O3 -imacros $(LIBC_PREFIX)/../../../config.h \29 CFLAGS = -I$(LIBC_PREFIX)/include -O3 -imacros $(LIBC_PREFIX)/../../../config.h \ 30 30 -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \ 31 -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \ 32 -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \ 33 -Werror-implicit-function-declaration -pipe -g -D__$(ENDIANESS)__ 34 35 ICC_CFLAGS = -I$(LIBC_PREFIX)/include -O3 -imacros $(LIBC_PREFIX)/../../../config.h \ 36 -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \ 37 -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \ 38 -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \ 39 -Werror-implicit-function-declaration -pipe -g -D__$(ENDIANESS)__ 40 41 CLANG_CFLAGS = -I$(LIBC_PREFIX)/include -O3 -imacros $(LIBC_PREFIX)/../../../config.h \ 42 -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \ 43 -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \ 44 -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \ 45 -Werror-implicit-function-declaration -pipe -g -arch $(CLANG_ARCH) \ 46 -D__$(ENDIANESS)__ 47 31 -finput-charset=UTF-8 -fno-builtin -Wall -Wextra -Wno-unused-parameter \ 32 -Wmissing-prototypes -Werror-implicit-function-declaration -nostdlib \ 33 -nostdinc -pipe -g -D__$(ENDIANESS)__ 48 34 LFLAGS = -M -N $(SOFTINT_PREFIX)/libsoftint.a 49 35 AFLAGS = … … 59 45 # 60 46 61 include $(LIBC_PREFIX)/../../../Makefile.config62 include $(LIBC_PREFIX)/../../../config.defs63 include $(LIBC_PREFIX)/arch/$(UARCH)/Makefile.inc47 -include $(LIBC_PREFIX)/../../../Makefile.config 48 -include $(LIBC_PREFIX)/../../../config.defs 49 -include $(LIBC_PREFIX)/arch/$(UARCH)/Makefile.inc 64 50 65 51 ## Simple detection of the host system … … 78 64 # 79 65 66 ifeq ($(COMPILER),gcc_native) 67 CC = gcc 68 AS = $(BINUTILS_PREFIX)as 69 LD = $(BINUTILS_PREFIX)ld 70 AR = $(BINUTILS_PREFIX)ar 71 OBJCOPY = $(BINUTILS_PREFIX)objcopy 72 OBJDUMP = $(BINUTILS_PREFIX)objdump 73 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 74 endif 75 76 ifeq ($(COMPILER),icc_native) 77 CC = icc 78 AS = as 79 LD = ld 80 AR = ar 81 OBJCOPY = objcopy 82 OBJDUMP = objdump 83 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 84 endif 85 80 86 ifeq ($(COMPILER),gcc_cross) 81 87 CC = $(TOOLCHAIN_DIR)/$(TARGET)-gcc 82 GCC = $(CC)83 88 AS = $(TOOLCHAIN_DIR)/$(TARGET)-as 84 89 LD = $(TOOLCHAIN_DIR)/$(TARGET)-ld … … 86 91 OBJCOPY = $(TOOLCHAIN_DIR)/$(TARGET)-objcopy 87 92 OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump 88 CFLAGS = $(GCC_CFLAGS)89 93 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 90 94 endif 91 92 ifeq ($(COMPILER),gcc_native)93 CC = gcc94 GCC = $(CC)95 AS = $(BINUTILS_PREFIX)as96 LD = $(BINUTILS_PREFIX)ld97 AR = $(BINUTILS_PREFIX)ar98 OBJCOPY = $(BINUTILS_PREFIX)objcopy99 OBJDUMP = $(BINUTILS_PREFIX)objdump100 CFLAGS = $(GCC_CFLAGS)101 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)102 endif103 104 ifeq ($(COMPILER),icc)105 CC = icc106 GCC = gcc107 AS = as108 LD = ld109 AR = ar110 OBJCOPY = objcopy111 OBJDUMP = objdump112 CFLAGS = $(ICC_CFLAGS)113 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)114 endif115 116 ifeq ($(COMPILER),clang)117 CC = clang118 GCC = gcc119 AS = $(BINUTILS_PREFIX)as120 LD = $(BINUTILS_PREFIX)ld121 AR = $(BINUTILS_PREFIX)ar122 OBJCOPY = $(BINUTILS_PREFIX)objcopy123 OBJDUMP = $(BINUTILS_PREFIX)objdump124 CFLAGS = $(CLANG_CFLAGS)125 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)126 endif
Note:
See TracChangeset
for help on using the changeset viewer.