summaryrefslogtreecommitdiffstats
path: root/core/modules/run-virt/module.build
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/run-virt/module.build')
-rw-r--r--core/modules/run-virt/module.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/run-virt/module.build b/core/modules/run-virt/module.build
index f529489b..4de16fb7 100644
--- a/core/modules/run-virt/module.build
+++ b/core/modules/run-virt/module.build
@@ -11,7 +11,7 @@ build () {
tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
# Compile pwdaemon
mkdir -p "${MODULE_BUILD_DIR}/opt/openslx/bin"
- gcc -std=gnu99 -o "${MODULE_BUILD_DIR}/opt/openslx/bin/pwdaemon" -Os "${MODULE_DIR}/pw_daemon.c" || perror "Could not compile the pwdaemon"
+ gcc -D_GNU_SOURCE -std=gnu99 -o "${MODULE_BUILD_DIR}/opt/openslx/bin/pwdaemon" -Os "${MODULE_DIR}/pw_daemon.c" || perror "Could not compile the pwdaemon"
gcc -std=gnu99 -o "${MODULE_BUILD_DIR}/opt/openslx/bin/slxfwtool" -Os "${MODULE_DIR}/fwtool/main.c" || perror "Could not compile slxfwtool"
}