Skip to content

Commit 7093fe7

Browse files
committed
wip
1 parent 3f7c158 commit 7093fe7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

projects/gnu.org/glibc/package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,11 @@ test:
7979
# Putting ourselves in the LD_LIBRARY_PATH breaks literally everything else...
8080
- export LD_LIBRARY_PATH="$(echo LD_LIBRARY_PATH | tr ':' '\n' | grep -v {{prefix}} | tr '\n' ':')"
8181

82-
- gcc -o test1 test.c -pthread -fPIC -pie
82+
- gcc -o test1 test.c -pthread $CFLAGS
8383
- ./test1
8484

85+
- find {{deps.gnu.org/gcc.prefix}} -name stdatomic.h
86+
8587
- |
8688
gcc \
8789
-nostdinc \
@@ -97,9 +99,7 @@ test:
9799
{{prefix}}/lib/crt1.o \
98100
{{prefix}}/lib/crtn.o \
99101
test.c \
100-
-pthread \
101-
-fPIC \
102-
-pie
102+
-pthread
103103
- objdump -p test2
104104
- ./test2
105105

0 commit comments

Comments
 (0)