Changeset 409


Ignore:
Timestamp:
May 1, 2009, 10:03:19 PM (12 years ago)
Author:
khorben
Message:

Always linking with libgcc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/System/Sources/libc/src/Makefile

    r397 r409  
    2828libc_OBJS = ctype.lo dirent.lo errno.lo fcntl.lo float.lo fnmatch.lo grp.lo iconv.lo langinfo.lo libgen.lo locale.lo poll.lo pwd.lo search.lo setjmp.lo signal.lo stdlib.lo stdio.lo string.lo strings.lo stropts.lo sys/ipc.lo sys/mman.lo sys/mount.lo sys/reboot.lo sys/resource.lo sys/select.lo sys/shm.lo sys/stat.lo sys/statvfs.lo sys/time.lo sys/times.lo sys/utsname.lo sys/wait.lo syscalls.lo syslog.lo termios.lo time.lo unistd.lo utime.lo utmpx.lo
    2929libc_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS)
    30 libc_LDFLAGS = $(LDFLAGSF) $(LDFLAGS)
     30libc_LDFLAGS = $(LDFLAGSF) $(LDFLAGS) `$(CC) -print-libgcc-file-name`
    3131libc_ASFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(ASFLAGS)
    3232
     
    139139        $(LIBTOOL) --mode=compile $(CC) $(libc_CFLAGS) -o sys/wait.o -c sys/wait.c
    140140
    141 syscalls.o syscalls.lo: syscalls.S kernel/linux/common.h kernel/linux/arm/syscalls.S kernel/linux/i386/syscalls.S kernel/netbsd/amd64/syscalls.S
     141syscalls.o syscalls.lo: syscalls.S kernel/linux/common.h kernel/linux/arm/syscalls.S kernel/linux/i386/syscalls.S kernel/netbsd/amd64/syscalls.S kernel/netbsd/i386/syscalls.S
    142142        $(LIBTOOL) --mode=compile $(AS) $(libc_ASFLAGS) -o syscalls.o syscalls.S
    143143
Note: See TracChangeset for help on using the changeset viewer.