diff options
-rw-r--r-- | CMakeLists.txt | 4 | ||||
-rw-r--r-- | deps/sysobj_early/src/appf.c | 6 |
2 files changed, 2 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e41cbf4a..e43195db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -295,7 +295,7 @@ add_executable(hardinfo shell/loadgraph-uber.c ) target_link_libraries(hardinfo - sysobj_early + -Wl,-whole-archive sysobj_early -Wl,-no-whole-archive uber-graph ${GTK_LIBRARIES} ${LIBSOUP_LIBRARIES} @@ -333,7 +333,7 @@ add_executable(hardinfo shell/loadgraph.c ) target_link_libraries(hardinfo - sysobj_early + -Wl,-whole-archive sysobj_early -Wl,-no-whole-archive ${GTK_LIBRARIES} ${LIBSOUP_LIBRARIES} m diff --git a/deps/sysobj_early/src/appf.c b/deps/sysobj_early/src/appf.c index e63e77d0..8e6991e3 100644 --- a/deps/sysobj_early/src/appf.c +++ b/deps/sysobj_early/src/appf.c @@ -25,12 +25,6 @@ #include <string.h> #include "appf.h" -/* FIXME: if this isn't here, hardinfo will crash, - * I don't have the slightest idea why */ -void wtf() { - void *e = edid_new(NULL, 0); -} - char *appf(char *str, const char *sep, const char *fmt, ...) { char *buf = NULL; int inlen, seplen, len; |