libatomic_ops libsignal-protocol-c libssh: fix gcc4 build

pull/2181/head
Tony Theodore 6 years ago
parent b60d17597b
commit b7c8011aa8

@ -29,7 +29,7 @@ define $(PKG)_BUILD
# compile test
'$(TARGET)-gcc' \
-W -Wall -Werror -pedantic \
-W -Wall -Werror -pedantic -std=c99 \
'$(SOURCE_DIR)/tests/test_stack.c' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \
`'$(TARGET)-pkg-config' atomic_ops_gpl --cflags --libs`
endef

@ -16,7 +16,7 @@ define $(PKG)_BUILD
$(MAKE) -C '$(BUILD_DIR)' -j 1 install VERBOSE=1
'$(TARGET)-gcc' \
-W -Wall -Werror -pedantic \
-W -Wall -Werror -pedantic -std=c99 \
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-libsignal-protocol-c.exe' \
`'$(TARGET)-pkg-config' libsignal-protocol-c --cflags --libs`
endef

@ -55,7 +55,7 @@ define $(PKG)_BUILD
# compile test
'$(TARGET)-gcc' \
-W -Wall -Werror -pedantic $($(PKG)_EXTRA_WARNINGS) \
-W -Wall -Werror -pedantic -std=c99 $($(PKG)_EXTRA_WARNINGS) \
$(SOURCE_DIR)/examples/{authentication.c,knownhosts.c,connect_ssh.c,exec.c} \
-o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \
`'$(TARGET)-pkg-config' $(PKG) --cflags --libs`

Loading…
Cancel
Save