Changeset d88f077 for udev-lfs


Ignore:
Timestamp:
03/20/2013 07:22:44 PM (11 years ago)
Author:
Matthew Burgess <matthew@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.4, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
2a8f7247
Parents:
1ad30b9
Message:

Fix undefined symbols, which causes issues with libdrm and probably other packages too.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10214 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • udev-lfs/Makefile.lfs

    r1ad30b9 rd88f077  
    66SHELL=/bin/bash
    77SYSTEMD_VERSION=198
    8 VERSION=198-2
     8VERSION=198-3
    99
    1010ifeq ($(V),)
     
    2929OPTIONS2 := $(OPTIONS) -fvisibility=hidden
    3030
    31 LDFLAGS   = -pthread -lrt -Wl,--as-needed -Wl,--gc-sections
     31LDFLAGS   = -pthread -lrt -Wl,--as-needed -Wl,--gc-sections -Wl,--no-undefined
    3232LDFLAGS2 := $(LDFLAGS) -lblkid -lkmod
    3333
     
    8383              time-util.c   \
    8484              fileio.c      \
    85               strxcpyx.c
     85              strxcpyx.c    \
     86              env-util.c    \
     87              utf8.c
    8688
    8789COMMON_OBJS := $(addprefix build/, $(COMMON_SRCS:.c=.o))
     
    150152        < $< > $@
    151153
    152 SECURE = $(shell if nm /lib/libc.so.6 | grep -q " secure_getenv"; \
     154SECURE = $(shell if objdump -T /lib/libc.so.6 | grep -q " secure_getenv"; \
    153155then echo yes; fi)
    154156
     
    206208      -Wl,--as-needed                       \
    207209      -Wl,--gc-sections                     \
     210      -Wl,--no-undefined                    \
    208211      -Wl,-soname,$(LIBUDEV_LINK_NAME)      \
    209212      -o build/$(LIBUDEV_REAL_NAME)
Note: See TracChangeset for help on using the changeset viewer.