Skip to content

Commit

Permalink
c flags
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-m committed Dec 20, 2023
1 parent cf8fcf4 commit 7417ae8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/vk/vk.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
package vk

// See pkg/pmatch/c.go for docs on CC flags.

// #cgo CFLAGS: -Wall -Wextra -pedantic -std=c99
// #cgo CFLAGS: -O2
//
// #cgo LDFLAGS: -lvulkan
//
// #cgo amd64 CFLAGS: -march=native
//
// #cgo arm64 CFLAGS: -mcpu=cortex-a72 -mtune=cortex-a72
//
// #include "vk.h"
import "C"
import (
Expand Down

0 comments on commit 7417ae8

Please sign in to comment.