Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 76ecb300 in mainline


Ignore:
Timestamp:
2010-02-16T19:14:59Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
209faf9, 61ee6df
Parents:
5d618d8
Message:

use -march=pentium with the cross-compiler (using older instruction sets
cause to workaround some functionality by explicit functions)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/abs32le/Makefile.inc

    r5d618d8 r76ecb300  
    3131
    3232BFD = binary
    33 TARGET = i686-pc-linux-gnu
    34 TOOLCHAIN_DIR = $(CROSS_PREFIX)/ia32
     33
     34ifeq ($(COMPILER),gcc_cross)
     35        TARGET = i686-pc-linux-gnu
     36        TOOLCHAIN_DIR = $(CROSS_PREFIX)/ia32
     37        GCC_CFLAGS += -march=pentium
     38endif
    3539
    3640BITS = 32
  • uspace/lib/libc/arch/abs32le/Makefile.inc

    r5d618d8 r76ecb300  
    3030#
    3131
    32 TARGET = i686-pc-linux-gnu
    33 TOOLCHAIN_DIR = $(CROSS_PREFIX)/ia32/bin
     32ifeq ($(COMPILER),gcc_cross)
     33        TARGET = i686-pc-linux-gnu
     34        TOOLCHAIN_DIR = $(CROSS_PREFIX)/ia32/bin
     35        GCC_CFLAGS += -march=pentium
     36endif
    3437
    3538ARCH_SOURCES = \
Note: See TracChangeset for help on using the changeset viewer.