Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
libvpx
Commits
43d04ef9
Commit
43d04ef9
authored
Jun 20, 2013
by
James Zern
Committed by
Gerrit Code Review
Jun 20, 2013
Browse files
Merge "Revert "test_libvpx: disable pthreads in gtest""
parents
c259af4f
f2dc3825
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
configure
configure
+1
-1
libs.mk
libs.mk
+1
-2
No files found.
configure
View file @
43d04ef9
...
...
@@ -683,7 +683,7 @@ process_toolchain() {
# x86 targets.
;;
*
)
check_cxx
"
$@
"
<<
EOF
&& soft_enable unit_tests
enabled pthread_h
&&
check_cxx
"
$@
"
<<
EOF
&& soft_enable unit_tests
int z;
EOF
;;
...
...
libs.mk
View file @
43d04ef9
...
...
@@ -442,7 +442,6 @@ else
include
$(SRC_PATH_BARE)/third_party/googletest/gtest.mk
GTEST_SRCS
:=
$(
addprefix
third_party/googletest/src/,
$(
call
enabled,GTEST_SRCS
))
GTEST_OBJS
=
$(
call
objs,
$(GTEST_SRCS)
)
$(GTEST_OBJS) $(GTEST_OBJS
:
.o=.d): CXXFLAGS += -DGTEST_HAS_PTHREAD=0
$(GTEST_OBJS) $(GTEST_OBJS
:
.o=.d): CXXFLAGS += -I$(SRC_PATH_BARE)/third_party/googletest/src
$(GTEST_OBJS) $(GTEST_OBJS
:
.o=.d): CXXFLAGS += -I$(SRC_PATH_BARE)/third_party/googletest/src/include
OBJS-$(BUILD_LIBVPX)
+=
$(GTEST_OBJS)
...
...
@@ -467,7 +466,7 @@ $(foreach bin,$(LIBVPX_TEST_BINS),\
lib$(CODEC_LIB)$(CODEC_LIB_SUF) libgtest.a ))
\
$(if $(BUILD_LIBVPX)
,
$(eval $(call linkerxx_template
,
$(bin)
,
\
$(LIBVPX_TEST_OBJS)
\
-L. -lvpx -lgtest
$(extralibs)
-lm)
\
-L. -lvpx -lgtest
-lpthread
-lm)
\
)))
\
$(if $(LIPO_LIBS)
,
$(eval $(call lipo_bin_template
,
$(bin))))
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment