summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authordzwdz2023-09-16 20:48:28 +0200
committerdzwdz2023-09-17 17:13:50 +0200
commit4ade8ff9e6c4185ebe45ecfe183668f28e1525b7 (patch)
tree26fdfa0659f4a32fc3d187658c2d8d457b272578 /configure
parent458978e7b8a6d50566fc8b68558f76f6b0465c52 (diff)
kernel/amd64: add HPET support, slightly rework time handling
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index b6502d6..9583fdd 100755
--- a/configure
+++ b/configure
@@ -72,7 +72,7 @@ t('out/boot.iso', 'out/fs/boot/kernel out/fs/boot/grub/grub.cfg out/fs/boot/init
])
t('out/fs/boot/kernel', 'src/kernel/arch/amd64/linker.ld' + srcobj('src/kernel/') + srcobj('src/libk/'), [
- '$(CC) -nostdlib -Wl,-zmax-page-size=4096 -Wl,--no-warn-mismatch -Wl,-no-pie -T $^ -o $@',
+ '$(CC) -nostdlib -Wl,-zmax-page-size=4096 -Wl,--no-warn-mismatch -Wl,-no-pie -T $^ -o $@ -lgcc',
'grub-file --is-x86-multiboot2 $@ || echo "$@ has an invalid multiboot2 header"',
'grub-file --is-x86-multiboot2 $@ || rm $@; test -e $@'
])