While attempting to compile my C program, running the following command:
gcc pthread.c -o pthread
Returns:
Agreeing
Opening XCode and accepting the license fixes the issue.