Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LabComm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Show more breadcrumbs
Sven Gestegård Robertz
LabComm
Commits
a5deb387
Commit
a5deb387
authored
11 years ago
by
Anders Blomdell
Browse files
Options
Downloads
Patches
Plain Diff
Various OSX fixes.
parent
571541d7
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
lib/c/Makefile
+2
-1
2 additions, 1 deletion
lib/c/Makefile
lib/c/labcomm_compat_osx.h
+1
-1
1 addition, 1 deletion
lib/c/labcomm_compat_osx.h
lib/c/liblabcomm.so
+1
-1
1 addition, 1 deletion
lib/c/liblabcomm.so
lib/c/liblabcomm.so
+1
-1
1 addition, 1 deletion
lib/c/liblabcomm.so
with
5 additions
and
4 deletions
lib/c/Makefile
+
2
−
1
View file @
a5deb387
...
@@ -8,9 +8,10 @@ ifeq ($(UNAME_S),Linux)
...
@@ -8,9 +8,10 @@ ifeq ($(UNAME_S),Linux)
MAKESHARED
=
gcc
-o
$1
-shared
-Wl
,-soname,
$2
$3
-lc
-lrt
MAKESHARED
=
gcc
-o
$1
-shared
-Wl
,-soname,
$2
$3
-lc
-lrt
else
ifeq
($(UNAME_S),Darwin)
else
ifeq
($(UNAME_S),Darwin)
CC
=
clang
CC
=
clang
CFLAGS
=
-g
-Wall
-Werror
-O3
-I
.
-Itest
CFLAGS
=
-g
-Wall
-Werror
-O3
-I
.
-Itest
\
-DLABCOMM_COMPAT
=
\"
labcomm_compat_osx.h
\"
\
-DLABCOMM_COMPAT
=
\"
labcomm_compat_osx.h
\"
\
-Wno-tautological-compare
-Wno-unused-function
-Wno-tautological-compare
-Wno-unused-function
LDFLAGS
=
-L
.
LDLIBS
=
-llabcomm
LDLIBS
=
-llabcomm
MAKESHARED
=
clang
-o
$1
-shared
-Wl
,-install_name,
$2
$3
-lc
MAKESHARED
=
clang
-o
$1
-shared
-Wl
,-install_name,
$2
$3
-lc
else
else
...
...
This diff is collapsed.
Click to expand it.
lib/c/labcomm_compat_osx.h
+
1
−
1
View file @
a5deb387
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
#include
<mach/mach.h>
#include
<mach/mach.h>
#define CLOCK_REALTIME 0
#define CLOCK_REALTIME 0
static
void
clock_gettime
(
int
garbage
,
struct
timespec
*
ts
)
static
inline
void
clock_gettime
(
int
garbage
,
struct
timespec
*
ts
)
{
{
(
void
)
garbage
;
(
void
)
garbage
;
clock_serv_t
cclock
;
clock_serv_t
cclock
;
...
...
This diff is collapsed.
Click to expand it.
lib/c/liblabcomm.so
deleted
100755 → 0
+
1
−
1
View file @
571541d7
INPUT(liblabcomm.so.1)
This diff is collapsed.
Click to expand it.
lib/c/liblabcomm.so
0 → 120000
+
1
−
1
View file @
a5deb387
liblabcomm.so.1
\ No newline at end of file
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