We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9ce0f13 + bf22173 commit f612c69Copy full SHA for f612c69
1 file changed
pkgs/gcc/gcc.yaml
@@ -22,6 +22,16 @@ build_stages:
22
patch -up1 < _hashdist/rpath.patch
23
sed -i "s|@@ARTIFACT@@|${ARTIFACT}|g" gcc/config/i386/gnu-user.h gcc/config/i386/gnu-user64.h
24
25
+ - when: platform == 'Darwin'
26
+ name: fix_object_h
27
+ before: configure
28
+ handler: bash
29
+ bash: |
30
+ if [ -f /usr/include/dispatch/object.h ]; then
31
+ mkdir -p "$ARTIFACT/include/dispatch"
32
+ sed 's+typedef void (\^dispatch_block_t)(void)+typedef void* dispatch_block_t+' /usr/include/dispatch/object.h > "$ARTIFACT/include/dispatch/object.h"
33
+ fi
34
+
35
- name: link_lib64_to_lib
36
after: install
37
handler: bash
0 commit comments