Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions pkgs/gcc/gcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ build_stages:
patch -up1 < _hashdist/rpath.patch
sed -i "s|@@ARTIFACT@@|${ARTIFACT}|g" gcc/config/i386/gnu-user.h gcc/config/i386/gnu-user64.h

- when: platform == 'Darwin'
name: fix_object_h
before: configure
handler: bash
bash: |
if [ -f /usr/include/dispatch/object.h ]; then
mkdir -p "$ARTIFACT/include/dispatch"
sed 's+typedef void (\^dispatch_block_t)(void)+typedef void* dispatch_block_t+' /usr/include/dispatch/object.h > "$ARTIFACT/include/dispatch/object.h"
fi

- name: link_lib64_to_lib
after: install
handler: bash
Expand Down