Change-Id: I62bb0528fd1bcb9aa4c61e44c78158a592690fc7
dlext_test.cpp \
dlfcn_test.cpp \
-bionic-unit-tests_cppflags := \
- $(test_cppflags)
+bionic-unit-tests_cflags := $(test_cflags)
+bionic-unit-tests_cppflags := $(test_cppflags)
bionic-unit-tests_ldflags := \
-Wl,--export-dynamic \
bionic-unit-tests-glibc_ldlibs := \
-lrt -ldl \
-bionic-unit-tests-glibc_cppflags := \
- $(test_cppflags)
+bionic-unit-tests-glibc_cflags := $(test_cflags)
+bionic-unit-tests-glibc_cppflags := $(test_cppflags)
module := bionic-unit-tests-glibc
module_tag := optional
uint32_t (*f)(void);
f = reinterpret_cast<uint32_t (*)(void)>(dlsym(handle, "dlsym_local_symbol_get_taxicab_number_using_dlsym"));
ASSERT_TRUE(f != NULL);
- ASSERT_EQ(1729, f());
+ ASSERT_EQ(1729U, f());
}
TEST(dlfcn, dlopen_noload) {