diff options
author | shuai.fu <shuai01.fu@samsung.com> | 2015-11-06 16:06:05 +0800 |
---|---|---|
committer | shuai.fu <shuai01.fu@samsung.com> | 2015-11-06 16:10:38 +0800 |
commit | 0d553a491c0189c8896820395481191cf648a1e5 (patch) | |
tree | 2aa22e8d20c1073ba70219883c72c6302b214ae7 | |
parent | 8df9e898e2759af4109ca0cd3bff748f613c8be5 (diff) | |
download | qemu-arm-static-0d553a491c0189c8896820395481191cf648a1e5.tar.gz qemu-arm-static-0d553a491c0189c8896820395481191cf648a1e5.tar.bz2 qemu-arm-static-0d553a491c0189c8896820395481191cf648a1e5.zip |
Modify spec add -lrt on centos7.
Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
Change-Id: I8912c7123498cc182e05c9b7534ced3d579ff364
-rw-r--r-- | packaging/qemu-arm-static.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/qemu-arm-static.spec b/packaging/qemu-arm-static.spec index 06ee49a99..5328bc376 100644 --- a/packaging/qemu-arm-static.spec +++ b/packaging/qemu-arm-static.spec @@ -77,7 +77,7 @@ export LDFLAGS="-lrt -pthread -lgthread-2.0 -lglib-2.0" --disable-sdl \ --static -%if 0%{?suse_version} >= 1230 || 0%{?fedora} >= 19 +%if 0%{?suse_version} >= 1230 || 0%{?fedora} >= 19 || 0%{?centos_version} == 700 # -lrt needs to come after -lglib-2.0 to avoid undefined mq_open, mq_xxx sed -i "s/-lglib-2.0/-lglib-2.0 -lrt/" config-host.mak %endif |