- Timestamp:
- 01/09/2013 06:55:19 PM (11 years ago)
- 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.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 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:
- cdd87ad
- Parents:
- 56dfe5b
- Location:
- udev-lfs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
udev-lfs/Makefile.lfs
r56dfe5b r86b1ebc 5 5 6 6 SHELL=/bin/bash 7 SYSTEMD_VERSION=19 68 VERSION=19 6-37 SYSTEMD_VERSION=197 8 VERSION=197-1 9 9 10 10 ifeq ($(V),) … … 80 80 dev-setup.c \ 81 81 sd-login.c \ 82 sd-daemon.c 82 sd-daemon.c \ 83 time-util.c 83 84 84 85 COMMON_OBJS := $(addprefix build/, $(COMMON_SRCS:.c=.o)) … … 147 148 < $< > $@ 148 149 150 SECURE = $(shell if nm /lib/libc.so.6 | grep -q " secure_getenv"; \ 151 then echo yes; fi) 152 153 ifeq "$(SECURE)" "yes" 154 SECURE_GETENV = SECURE_GETENV 155 else 156 SECURE_GETENV = __SECURE_GETENV 157 endif 149 158 150 159 udev: common \ … … 164 173 165 174 cfg.h: udev-lfs-$(VERSION)/cfg.h 166 sed -e 's/LFS-VERSION/$(SYSTEMD_VERSION)/' udev-lfs-$(VERSION)/cfg.h > ./cfg.h 175 sed -e 's/LFS-VERSION/$(SYSTEMD_VERSION)/' \ 176 -e 's/SECURE_GETENV/$(SECURE_GETENV)/' \ 177 udev-lfs-$(VERSION)/cfg.h > ./cfg.h 167 178 @mkdir -p build 168 179 -
udev-lfs/cfg.h
r56dfe5b r86b1ebc 1 /* Custom udev (from systemd) configuration header file for LFS */ 2 1 3 /* Define to 1 if you have the <dlfcn.h> header file. */ 2 4 #define HAVE_DLFCN_H 1 … … 13 15 /* Define to 1 if you have the <memory.h> header file. */ 14 16 #define HAVE_MEMORY_H 1 17 18 /* Define to 1 if you have the `secure_getenv' function. */ 19 /* For glibc before 2.17, this should be HAVE___SECURE_GETENV */ 20 #define HAVE_SECURE_GETENV 1 15 21 16 22 /* Define to 1 if you have the <stdint.h> header file. */ … … 57 63 #define HAVE_DECL_GETTID 0 58 64 #define HAVE_NAME_TO_HANDLE_AT 1 59 #define HAVE___SECURE_GETENV 1
Note:
See TracChangeset
for help on using the changeset viewer.