-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathadtools_mod
executable file
·29 lines (28 loc) · 1.07 KB
/
adtools_mod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash --
# Insert any modifications to ADTOOLS before building it here:
set -e
set -u
set -x
# WHEN THIS SCRIPT IS INVOKED YOU ARE ALREADY INSIDE THE CHECKED OUT LOCATION OF ADTOOLS
#
# You may use the variable ORIG_DIR which represents the absolute path the directory used to clone adtools_testing.
#
# So, for example you can invoke:
#
# cp /home/user/Downloads/makefile native-build/,
# Or,
# cp "${ORIG_DIR}/myFile" gcc/repo
#
# to replace the makefile in the checked out ADTOOLS location for this session
#
# Or, you may want some small in-place hacks:
#
# if (( EXP_CLIB2 ))
# then
# # We shall use the rs6k amigaos.h version from the afxgroup CLIB2
# sed -i '115i\ cp downloads/clib2/misc/amigaos.h ../gcc/repo/gcc/config/rs6000/' native-build/makefile
# # And, we need to remove -Werror when building clib2 due to time cast issue
# sed -i '115i\ sed -i "s|-Werror|# -Werror|g" downloads/clib2/GNUmakefile.os4' native-build/makefile
# # We also want to build SHARED LIBRARIES for CLIB2
# sed -i 's|SHARED=no|SHARED=yes|' native-build/makefile
# fi