Changeset 4d4988e in mainline
- Timestamp:
- 2011-06-24T02:15:39Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 021c508
- Parents:
- 3e22494f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/binutils/intrusive.sh
r3e22494f r4d4988e 66 66 # became mandatory (although not really needed). 67 67 # 68 # Patch 4 69 # Whereas most systems maps pid_t to signed type, HelenOS maps it 70 # to unsigned type. This causes some type incompatibility in libiberty 71 # files related to executing a subprocess. Since both as and ld are 72 # not runtime dependent on this functionality, the simplest solution is 73 # to patch libiberty to avoid compiler warnings. 74 # 68 75 69 76 case "$1" in … … 76 83 cp -f "$2/ld/configure" "$2/ld/configure.backup" 77 84 cp -f "$2/libiberty/configure" "$2/libiberty/configure.backup" 85 cp -f "$2/libiberty/pex-common.h" "$2/libiberty/pex-common.h.backup" 78 86 cp -f "$2/opcodes/configure" "$2/opcodes/configure.backup" 79 87 … … 116 124 > "$2/libiberty/configure" 117 125 126 # Patch libiberty pex-common.h. 127 cat "$2/libiberty/pex-common.h.backup" | \ 128 # See Patch 4. 129 sed 's/pid_t (\*wait)/int (*wait)/g' \ 130 > "$2/libiberty/pex-common.h" 131 118 132 # Patch opcodes configure script. 119 133 cat "$2/opcodes/configure.backup" | \ … … 133 147 mv -f "$2/ld/configure.backup" "$2/ld/configure" 134 148 mv -f "$2/libiberty/configure.backup" "$2/libiberty/configure" 149 mv -f "$2/libiberty/pex-common.h.backup" "$2/libiberty/pex-common.h" 135 150 mv -f "$2/opcodes/configure.backup" "$2/opcodes/configure" 136 151 ;;
Note:
See TracChangeset
for help on using the changeset viewer.