[PR #10] [CLOSED] configure: fix duplicate of -lrt flag #15

Open
opened 2026-01-31 21:29:22 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/qemu/qemu/pull/10
Author: @totoroliu
Created: 5/22/2014
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 4eef266 configure: fix duplicate of -lrt flag

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 configure (+2 -2)

📄 Description

'-lrt' flag duplication would cause 'undefined reference to clock_gettime' error
during compilation time.

Before fix:
... -o qemu-bridge-helper qemu-bridge-helper.o -lrt -pthread -lgthread-2.0 -lrt -lglib-2.0
After fix:
... -o qemu-bridge-helper qemu-bridge-helper.o -pthread -lgthread-2.0 -lrt -lglib-2.0

Reference:
http://hi.baidu.com/sanitywolf/item/7a8b69c1e76dd220a0b50ab1


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/qemu/qemu/pull/10 **Author:** [@totoroliu](https://github.com/totoroliu) **Created:** 5/22/2014 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`4eef266`](https://github.com/qemu/qemu/commit/4eef2663dd3c4e8e762284e513a05cbbc42d438e) configure: fix duplicate of -lrt flag ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `configure` (+2 -2) </details> ### 📄 Description '-lrt' flag duplication would cause 'undefined reference to clock_gettime' error during compilation time. Before fix: ... -o qemu-bridge-helper qemu-bridge-helper.o -lrt -pthread -lgthread-2.0 -lrt -lglib-2.0 After fix: ... -o qemu-bridge-helper qemu-bridge-helper.o -pthread -lgthread-2.0 -lrt -lglib-2.0 Reference: http://hi.baidu.com/sanitywolf/item/7a8b69c1e76dd220a0b50ab1 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 21:29:22 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/qemu#15