Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zipr_push64_reloc_plugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Open Source Software
zipr_push64_reloc_plugin
Commits
d7c8ef19
Commit
d7c8ef19
authored
9 years ago
by
jdh8d
Browse files
Options
Downloads
Patches
Plain Diff
Updates for solaris
parent
0f8e81a5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
SConscript
+5
-1
5 additions, 1 deletion
SConscript
SConstruct
+10
-18
10 additions, 18 deletions
SConstruct
with
15 additions
and
19 deletions
SConscript
+
5
−
1
View file @
d7c8ef19
...
@@ -4,6 +4,9 @@ import tarfile
...
@@ -4,6 +4,9 @@ import tarfile
Import
(
'
env
'
)
Import
(
'
env
'
)
(
sysname
,
nodename
,
release
,
version
,
machine
)
=
os
.
uname
()
#print 'env='
#print 'env='
#print env.Dump()
#print env.Dump()
...
@@ -48,7 +51,8 @@ libpath='''
...
@@ -48,7 +51,8 @@ libpath='''
$SECURITY_TRANSFORMS_HOME/lib
$SECURITY_TRANSFORMS_HOME/lib
'''
'''
myenv
.
Append
(
CCFLAGS
=
"
-Wall
"
)
if
sysname
!=
"
SunOS
"
:
myenv
.
Append
(
CCFLAGS
=
"
-Wall
"
)
myenv
=
myenv
.
Clone
(
CPPPATH
=
Split
(
cpppath
),
LIBS
=
Split
(
libs
),
LIBPATH
=
Split
(
libpath
),
SHLIBSUFFIX
=
"
.zpi
"
,
SHLIBPREFIX
=
""
)
myenv
=
myenv
.
Clone
(
CPPPATH
=
Split
(
cpppath
),
LIBS
=
Split
(
libs
),
LIBPATH
=
Split
(
libpath
),
SHLIBSUFFIX
=
"
.zpi
"
,
SHLIBPREFIX
=
""
)
lib
=
myenv
.
SharedLibrary
(
"
push64_relocs
"
,
Split
(
files
))
lib
=
myenv
.
SharedLibrary
(
"
push64_relocs
"
,
Split
(
files
))
...
...
This diff is collapsed.
Click to expand it.
SConstruct
+
10
−
18
View file @
d7c8ef19
import
os
import
os
import
sys
import
sys
(
sysname
,
nodename
,
release
,
version
,
machine
)
=
os
.
uname
()
env
=
Environment
()
env
=
Environment
()
...
@@ -28,24 +32,12 @@ else:
...
@@ -28,24 +32,12 @@ else:
env
.
Append
(
CFLAGS
=
"
-O3
"
)
env
.
Append
(
CFLAGS
=
"
-O3
"
)
env
.
Append
(
CXXFLAGS
=
"
-O3
"
)
env
.
Append
(
CXXFLAGS
=
"
-O3
"
)
env
.
Append
(
LINKFLAGS
=
"
-O3
"
)
env
.
Append
(
LINKFLAGS
=
"
-O3
"
)
#env.Append(CXXFLAGS=" -std=c++0x")
if
sysname
==
"
SunOS
"
:
# set 32/64 bit build properly
env
.
Append
(
LINKFLAGS
=
"
-L/opt/csw/lib -DSOLARIS
"
)
#print "env[64bit]="+str(env['do_64bit_build'])
env
.
Append
(
CFLAGS
=
"
-I/opt/csw/include -DSOLARIS
"
)
#if env['do_64bit_build'] is None:
env
.
Append
(
CXXFLAGS
=
"
-I/opt/csw/include -DSOLARIS
"
)
# print 'Defaulting to default compilation size.'
#elif int(env['do_64bit_build']) == 1:
# print 'Using 64-bit compilation size.'
# env.Append(CFLAGS=" -m64")
# env.Append(CXXFLAGS=" -m64")
# env.Append(LINKFLAGS=" -m64")
# env.Append(SHLINKFLAGS=" -m64")
#else:
# print 'Using 32-bit compilation size.'
# env.Append(CFLAGS=" -m32")
# env.Append(CXXFLAGS=" -m32")
# env.Append(LINKFLAGS=" -m32")
# env.Append(SHLINKFLAGS=" -m32")
env
[
'
build_appfw
'
]
=
0
env
[
'
build_appfw
'
]
=
0
env
[
'
build_tools
'
]
=
0
env
[
'
build_tools
'
]
=
0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment