--- src/Makevars	2024-05-31 02:47:55.000000000 +0800
+++ src/Makevars	2024-06-01 18:08:54.000000000 +0800
@@ -27,9 +27,8 @@
 	endif
 else
 # Explicit -latomic is needed for 32-bit builds only on GCC
-	ifeq ($(shell getconf LONG_BIT), 32)
+# However we still need -latomic when building for 32-bit on 64-bit with GCC
 		PKG_LIBS += -latomic
-	endif
 endif
 
 SOURCES = quickjsr.cpp init.cpp
