This repository has been archived by the owner on Jan 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add site specific patch for EPICS 7.0.1.1
- Loading branch information
1 parent
7105456
commit 7be60a1
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git configure/CONFIG.gnuCommon configure/CONFIG.gnuCommon | ||
index 0253915..4bde87a 100644 | ||
--- configure/CONFIG.gnuCommon | ||
+++ configure/CONFIG.gnuCommon | ||
@@ -50,8 +50,8 @@ STATIC_LDFLAGS_YES = -static | ||
STATIC_LDFLAGS_NO = | ||
|
||
SHRLIB_CFLAGS = -fPIC | ||
-SHRLIB_LDFLAGS = -shared -fPIC | ||
-LOADABLE_SHRLIB_LDFLAGS = -shared -fPIC | ||
+SHRLIB_LDFLAGS = -shared -fPIC -Wl,--enable-new-dtags | ||
+LOADABLE_SHRLIB_LDFLAGS = -shared -fPIC -Wl,--enable-new-dtags | ||
|
||
GNU_LDLIBS_YES = -lgcc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git configure/CONFIG_APP_INCLUDE configure/CONFIG_APP_INCLUDE | ||
index 8b4bd7d..21de4ad 100644 | ||
--- configure/CONFIG_APP_INCLUDE | ||
+++ configure/CONFIG_APP_INCLUDE | ||
@@ -19,7 +19,7 @@ define RELEASE_FLAGS_template | ||
$(1)_LIB = $$(wildcard $$(strip $$($(1)))/lib/$(T_A)) | ||
SHRLIB_SEARCH_DIRS += $$($(1)_LIB) | ||
RELEASE_INCLUDES += $$(addprefix -I,$$(wildcard $$(strip $$($(1)))/include/compiler/$(CMPLR_CLASS))) | ||
- RELEASE_INCLUDES += $$(addprefix -I,$$(wildcard $$(strip $$($(1)))/include/os/$(OS_CLASS))) | ||
+ RELEASE_INCLUDES += $$(addprefix -I,$$(wildcard $$(strip $$($(1)))/include/os/$$(OS_CLASS))) | ||
RELEASE_INCLUDES += $$(addprefix -I,$$(wildcard $$(strip $$($(1)))/include)) | ||
RELEASE_DBD_DIRS += $$(wildcard $$(strip $$($(1)))/dbd) | ||
RELEASE_DB_DIRS += $$(wildcard $$(strip $$($(1)))/db) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
diff --git startup/EpicsHostArch.pl startup/EpicsHostArch.pl | ||
index 09f7ffd..cb9dfec 100755 | ||
--- startup/EpicsHostArch.pl | ||
+++ startup/EpicsHostArch.pl | ||
@@ -40,7 +40,12 @@ sub GetEpicsHostArch { # no args | ||
elsif ($cpu =~ m/i386/) { return "darwin-x86"; } | ||
elsif ($cpu =~ m/x86_64/) { return "darwin-x86"; } | ||
else { return "unsupported"; } | ||
- } else { return "unsupported"; } | ||
+ } elsif ($arch =~m/powerpc64-linux/) { | ||
+ my($kernel, $hostname, $release, $version, $cpu) = POSIX::uname(); | ||
+ if ($cpu =~ m/ppc64/) { return "linux-ppc64e6500"; } | ||
+ else { return "unsupported"; } | ||
+ } | ||
+ else { return "unsupported"; } | ||
} | ||
|
||
#EOF EpicsHostArch.pl |