build: Misc build system improvements
diff --git a/.gitignore b/.gitignore
index 4648c1b0..839af8e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,9 +1,9 @@
-/libgcc-*
/bin
/build
/cross-files
/limine-efi
/freestanding-headers
+/libgcc-binaries
/ovmf*
*.o
*.d
@@ -37,5 +37,6 @@
/common-bios
/common-uefi-ia32
/common-uefi-x86-64
+/common-uefi-aarch64
/decompressor-build
/stage1.stamp
diff --git a/common/GNUmakefile b/common/GNUmakefile
index 5f0344ab..9e0e0470 100644
--- a/common/GNUmakefile
+++ b/common/GNUmakefile
@@ -41,7 +41,6 @@ override INTERNAL_CFLAGS := \
-fno-strict-aliasing \
-fno-lto \
-nostdinc \
- -Wno-address-of-packed-member \
-Wshadow \
-Wvla \
-mno-80387 \
diff --git a/decompressor/GNUmakefile b/decompressor/GNUmakefile
index 2f5c2e37..1177f318 100644
--- a/decompressor/GNUmakefile
+++ b/decompressor/GNUmakefile
@@ -28,7 +28,6 @@ override INTERNAL_CFLAGS := \
-fno-pic \
-fomit-frame-pointer \
-nostdinc \
- -Wno-address-of-packed-member \
-Wshadow \
-Wvla \
-mno-80387 \
